Chromium Code Reviews
DescriptionFix ClassMirror.typeArguments handling for dynamic only type arguments.
Addresses an issue where we did not return the appropriate type arguments for instances with all dynamic type arguments.
Example:
Class <E> {}
main() {
var cm = reflectClass(new C()).type;
print(cm.typeArguments);
// now prints: {Symbol("E"): TypeMirror on 'dynamic'}
// previously: crashed
}
BUG=
R=asiva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=26135
Patch Set 1 #
Total comments: 6
Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||