Skip to content

Commit 91510bf

Browse files
Update comments
1 parent 3ccdc1e commit 91510bf

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

CodeConverter/Shared/TextLineExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static SyntaxToken GetLeadingForLine(this TextLine targetLine, SyntaxNode
3535
{
3636
var toReplace = target.FindNonZeroWidthToken(targetLine.Start);
3737
if (toReplace.Span.End < targetLine.Start) {
38-
toReplace = toReplace.GetNextToken(); //TODO: Find out why FindToken is off by one from what I want sometimes, is there a better alternative?
38+
toReplace = toReplace.GetNextToken();
3939
}
4040

4141
return toReplace;

Tests/CSharp/ExpressionTests/ExpressionTests.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,11 +1009,6 @@ private void TestMethod()
10091009
[Fact]
10101010
public async Task TypeInferredLambdaBodyExpressionAsync()
10111011
{
1012-
// BUG: Should actually call:
1013-
// * Operators::DivideObject(object, object)
1014-
// * Operators::ConditionalCompareObjectGreater(object, object, bool)
1015-
// * Operators::MultiplyObject(object, object)
1016-
// * Operators::ModObject(object, object)
10171012
await TestConversionVisualBasicToCSharpAsync(@"Class TestClass
10181013
Private Sub TestMethod()
10191014
Dim test = Function(a) a * 2

0 commit comments

Comments
 (0)