| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "dart:core" as core; |
| |
| class Foo<T extends core::Object? = dynamic> extends core::Object /*hasConstConstructor*/ { |
| final field (core::String) → self::Foo::T% _foo; |
| const constructor •((core::String) →? self::Foo::T% foo) → self::Foo<self::Foo::T%> |
| : self::Foo::_foo = let final (core::String) →? self::Foo::T% #t1 = foo in #t1 == null ?{(core::String) → self::Foo::T%} self::bar<self::Foo::T%> : #t1{(core::String) → self::Foo::T%}, super core::Object::•() |
| ; |
| } |
| static method bar<T extends core::Object? = dynamic>(core::String o) → self::bar::T% |
| ; |
| static method main() → void |
| ; |
| |
| |
| Extra constant evaluation status: |
| Evaluated: StaticTearOff @ org-dartlang-testcase:///issue_49245.dart:6:54 -> StaticTearOffConstant(bar) |
| Extra constant evaluation: evaluated: 8, effectively constant: 1 |