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 7a3239d commit a5fe637Copy full SHA for a5fe637
src/ScriptEngine/Compiler/CompilerBackendSelector.cs
@@ -17,11 +17,10 @@ namespace ScriptEngine.Compiler
17
public class CompilerBackendSelector : BslSyntaxWalker
18
{
19
private bool _isNative;
20
- private bool _isNativeDefault;
21
22
public CompilerBackendSelector(OneScriptCoreOptions options)
23
24
- _isNativeDefault = options.UseNativeAsDefaultRuntime;
+ _isNative = options.UseNativeAsDefaultRuntime;
25
}
26
27
public Func<ICompilerBackend> StackBackendInitializer { get; set; }
@@ -51,10 +50,6 @@ protected override void VisitModuleAnnotation(AnnotationNode node)
51
50
52
_isNative = false;
53
54
- else
55
- {
56
- _isNative = _isNativeDefault;
57
- }
58
59
60
protected override void VisitModule(ModuleNode node)
0 commit comments