Skip to content

Commit 9d199f1

Browse files
committed
use preview lang version in interactive runner
1 parent 35fb1e5 commit 9d199f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dotnet.Script.Core/Interactive/InteractiveRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class InteractiveRunner
2626
protected ScriptCompiler ScriptCompiler;
2727
protected ScriptConsole Console;
2828
private readonly string[] _packageSources;
29-
protected CSharpParseOptions ParseOptions = new CSharpParseOptions(LanguageVersion.Latest, kind: SourceCodeKind.Script);
29+
protected CSharpParseOptions ParseOptions = new CSharpParseOptions(LanguageVersion.Preview, kind: SourceCodeKind.Script);
3030
protected InteractiveCommandProvider InteractiveCommandParser = new InteractiveCommandProvider();
3131
protected string CurrentDirectory = Directory.GetCurrentDirectory();
3232

0 commit comments

Comments
 (0)