stderr:
tests/co19_2/src/LanguageFeatures/Constant-update-2018/ShortCircuitOperators_A01_t12.dart:23:34: Error: A value of type 'Type' can't be assigned to a variable of type 'bool'.
- 'Type' is from 'dart:core'.
const MyClass() : b = false && nil;
^
const nil = Null;
class MyClass {
final bool b;
const MyClass() : b = false && nil;
}
main() {
const res = MyClass();
}
Maybe const nil = Null;was meant to be const nil = null; (note the lowercase 'N')?