We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda78a0 commit 3f71dc5Copy full SHA for 3f71dc5
tools/testing/dart/environment.dart
@@ -32,6 +32,7 @@ final _variables = {
32
"jscl": new _Variable.bool((c) => c.runtime.isJSCommandLine),
33
"minified": new _Variable.bool((c) => c.isMinified),
34
"mode": new _Variable((c) => c.mode.name, Mode.names),
35
+ "preview_dart_2": new _Variable.bool((c) => c.previewDart2),
36
"runtime": new _Variable(_runtimeName, Runtime.names),
37
"spec_parser": new _Variable.bool((c) => c.compiler == Compiler.specParser),
38
"strong": new _Variable.bool((c) => c.isStrong),
0 commit comments