We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fb1e5 commit 9d199f1Copy full SHA for 9d199f1
src/Dotnet.Script.Core/Interactive/InteractiveRunner.cs
@@ -26,7 +26,7 @@ public class InteractiveRunner
26
protected ScriptCompiler ScriptCompiler;
27
protected ScriptConsole Console;
28
private readonly string[] _packageSources;
29
- protected CSharpParseOptions ParseOptions = new CSharpParseOptions(LanguageVersion.Latest, kind: SourceCodeKind.Script);
+ protected CSharpParseOptions ParseOptions = new CSharpParseOptions(LanguageVersion.Preview, kind: SourceCodeKind.Script);
30
protected InteractiveCommandProvider InteractiveCommandParser = new InteractiveCommandProvider();
31
protected string CurrentDirectory = Directory.GetCurrentDirectory();
32
0 commit comments