Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| =================================================================== |
| --- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 15453) |
| +++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy) |
| @@ -1509,7 +1509,7 @@ |
| if (declaredType.slowToString() == 'double') return HType.DOUBLE; |
| if (declaredType.slowToString() == 'num') return HType.NUMBER; |
| if (declaredType.slowToString() == 'String') return HType.STRING; |
| - if (declaredType.slowToString() == 'JSArray') return HType.READABLE_ARRAY; |
| + if (declaredType.slowToString() == '=List') return HType.READABLE_ARRAY; |
|
sra1
2012/11/29 00:12:51
I have not figured out how to do it yet, but we sh
ngeoffray
2012/11/29 11:10:44
Agree. The current JS form is pretty limited and w
|
| return HType.UNKNOWN; |
| } |