File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" Microsoft.CodeAnalysis.VisualBasic" Version =" 4.5 .0" />
10- <PackageReference Include =" NuGet.Common" Version =" 6.5 .0" />
11- <PackageReference Include =" NuGet.PackageManagement" Version =" 6.5 .0" />
12- <PackageReference Include =" NuGet.ProjectModel" Version =" 6.5 .0" />
13- <PackageReference Include =" NuGet.Protocol" Version =" 6.5 .0" />
9+ <PackageReference Include =" Microsoft.CodeAnalysis.VisualBasic" Version =" 4.7 .0" />
10+ <PackageReference Include =" NuGet.Common" Version =" 6.7 .0" />
11+ <PackageReference Include =" NuGet.PackageManagement" Version =" 6.7 .0" />
12+ <PackageReference Include =" NuGet.ProjectModel" Version =" 6.7 .0" />
13+ <PackageReference Include =" NuGet.Protocol" Version =" 6.7 .0" />
1414 </ItemGroup >
1515
1616</Project >
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ Public Class REPL
5858 For Each var As VariableDeclaratorSyntax In vars
5959 Dim name As String = var.Names.First.Identifier.Text
6060 If Not _state.ContainsKey(name) Then
61- varUpdates.Add(SyntaxFactory.ExpressionStatement(SyntaxFactory.ParseExpression( $"{stateName}.Add(""{name}"", {name})" ) ))
61+ varUpdates.Add(SyntaxFactory.ParseExecutableStatement( $"{stateName}.Add(""{name}"", {name})" ))
6262 Else
63- varUpdates.Add(SyntaxFactory.ExpressionStatement(SyntaxFactory.ParseExpression( $"{stateName}(""{name}"") = {name}" ) ))
63+ varUpdates.Add(SyntaxFactory.ParseExecutableStatement( $"{stateName}(""{name}"") = {name}" ))
6464 End If
6565 Next
6666 method = method.WithStatements(method.Statements.InsertRange(retIndex, varUpdates))
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Microsoft.CodeAnalysis.VisualBasic" Version =" 4.5 .0" />
11- <PackageReference Include =" PrettyPrompt" Version =" 4.0.6 " />
12- <PackageReference Include =" Spectre.Console" Version =" 0.46 .0" />
10+ <PackageReference Include =" Microsoft.CodeAnalysis.VisualBasic" Version =" 4.7 .0" />
11+ <PackageReference Include =" PrettyPrompt" Version =" 4.1.1 " />
12+ <PackageReference Include =" Spectre.Console" Version =" 0.47 .0" />
1313 </ItemGroup >
1414
1515 <ItemGroup >
You can’t perform that action at this time.
0 commit comments