Skip to content

Commit 4c1e978

Browse files
committed
cleanup(build): remove traceur-based Dart transpiler
1 parent 3d62546 commit 4c1e978

20 files changed

+2
-1710
lines changed

tools/transpiler/spec/for_of_spec.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

tools/transpiler/spec/imports_spec.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

tools/transpiler/spec/types_spec.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ export function main() {
7171

7272
expect(function() {
7373
wf.name = true;
74-
}).toThrowError(IS_DARTIUM ?
75-
// Dart
76-
"type 'bool' is not a subtype of type 'String' of 'value'" :
77-
// JavaScript
74+
}).toThrowError(
7875
// TODO(vojta): Better error, it's not first argument, it's setting a field.
7976
'Invalid arguments given!\n' +
8077
' - 1st argument has to be an instance of string, got true'
@@ -86,10 +83,7 @@ export function main() {
8683
it('should fail when setting wrong type value', function() {
8784
expect(function() {
8885
WithFields.id = true;
89-
}).toThrowError(IS_DARTIUM ?
90-
// Dart
91-
"type 'bool' is not a subtype of type 'num' of 'id'" :
92-
// JavaScript
86+
}).toThrowError(
9387
// TODO(vojta): Better error, it's not first argument, it's setting a field.
9488
'Invalid arguments given!\n' +
9589
' - 1st argument has to be an instance of number, got true'

tools/transpiler/src/codegeneration/ArrowFunctionTransformer.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

tools/transpiler/src/codegeneration/ClassTransformer.js

Lines changed: 0 additions & 245 deletions
This file was deleted.

0 commit comments

Comments
 (0)