Chromium Code Reviews
Description[kernel] const constructor type arguments
```
class A<T> {
const A();
Type get type => T;
}
class B extends A<String>{
const B();
}
main() {
print(const B().type);
}
```
Should print "String".
Before this CL it printed "dynamic", now it prints "String".
See dartbug.com/30588 for more information.
BUG=
R=kustermann@google.com
Committed: https://github.com/dart-lang/sdk/commit/e1d7e33aadf470164c7ceecba40a8a8d455cb459
Patch Set 1 #
Total comments: 2
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||