Skip to content

Commit 3f71dc5

Browse files
committed
Add preview_dart_2 to supported set of status file variables
R: [email protected] Change-Id: I9d77800f7db42207c5e730706b02b38080e85299 Reviewed-on: https://dart-review.googlesource.com/45322 Reviewed-by: Paul Berry <[email protected]>
1 parent bda78a0 commit 3f71dc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/dart/environment.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ final _variables = {
3232
"jscl": new _Variable.bool((c) => c.runtime.isJSCommandLine),
3333
"minified": new _Variable.bool((c) => c.isMinified),
3434
"mode": new _Variable((c) => c.mode.name, Mode.names),
35+
"preview_dart_2": new _Variable.bool((c) => c.previewDart2),
3536
"runtime": new _Variable(_runtimeName, Runtime.names),
3637
"spec_parser": new _Variable.bool((c) => c.compiler == Compiler.specParser),
3738
"strong": new _Variable.bool((c) => c.isStrong),

0 commit comments

Comments
 (0)