| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/regress/issue_31180.dart:6:15: Error: This requires the 'non-nullable' language feature to be enabled. |
| // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.9 or higher, and running 'pub get'. |
| // return null?[1]; |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| static method bad() → dynamic { |
| return let final dynamic #t1 = null in #t1.{core::Object::==}(null) ?{dynamic} null : #t1.[](1); |
| } |
| static method main() → dynamic {} |