Skip to content

Commit 130de1a

Browse files
liamappelbecommit-bot@chromium.org
authored andcommitted
[vm] Reland NNBD flag flip
Bug: #40179 Change-Id: I3ab5e1f5a0ee69e9850910eee59611eb4583e498 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134601 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Liam Appelbe <[email protected]>
1 parent 9ec978e commit 130de1a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

runtime/vm/dart.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,7 @@ class Dart : public AllStatic {
126126

127127
// TODO(dartbug.com/40342): Delete these functions.
128128
static void set_non_nullable_flag(bool value) { non_nullable_flag_ = value; }
129-
static bool non_nullable_flag() {
130-
#ifdef DART_BUILT_WITH_NNBD_FLAG
131-
return true;
132-
#else
133-
return non_nullable_flag_;
134-
#endif
135-
}
129+
static bool non_nullable_flag() { return true; }
136130

137131
private:
138132
static void WaitForIsolateShutdown();

0 commit comments

Comments
 (0)