chore: replace CONST_EXPR with /*@ts2dart_const*/

This commit is contained in:
Misko Hevery
2016-04-25 21:47:33 -07:00
committed by Martin Probst
parent d2527b504a
commit a02614beaa
99 changed files with 427 additions and 488 deletions

View File

@ -4,7 +4,6 @@ import {
RegExpWrapper,
RegExpMatcherWrapper,
StringWrapper,
CONST_EXPR,
hasConstructor,
resolveEnumToken
} from 'angular2/src/facade/lang';
@ -52,7 +51,7 @@ export function main() {
describe('const', () => {
it('should support const expressions both in TS and Dart', () => {
const numbers = CONST_EXPR([1, 2, 3]);
const numbers = /*@ts2dart_const*/[1, 2, 3];
expect(numbers).toEqual([1, 2, 3]);
});
});