Tobias Bosch
44845839a6
fix(transpiler): support arrow functions with complex body in named arguments
2015-02-16 10:48:44 -08:00
vsavkin
965f70bfbe
feat(transpiler): implement @IMPLEMENTS
2014-12-29 12:29:00 -08:00
Tommy Odom
f088e9ef15
feat(transpiler): Transform for..of to Dart as for..in
...
fixes #53
2014-12-03 10:48:48 +01:00
Misko Hevery
044625a098
chore: Make field declarations explicit
...
This used to be valid code:
```
class Foo {
constructor() {
this.bar = ‘string’;
}
}
```
This will now fail since ‘bar’ is not explicitly
defined as a field. We now have to write:
```
class Foo {
bar:string; // << REQUIRED
constructor() {
this.bar = ‘string’;
}
}
```
2014-11-24 16:35:39 -08:00
Vojta Jina
c68e78075a
feat(transiler/dart): re-export imported vars
...
```
import {Foo} from ‘./foo’;
var localVar = true;
export {Foo, localVar};
===>
import ‘./foo’ show Foo;
export ‘./foo’ show Foo;
var localVar = true;
```
Closes #41
2014-11-12 07:01:14 -08:00
Rado Kirov
4f416694a5
bug(transpiler): Support optional arguments in annotations.
...
Clean-up: move annotaitons out of fixtures/annotations, since we have
the @CONST annotation in the transpiler already.
2014-11-10 13:47:30 -08:00
Tommy Odom
8e6326f838
feat(transpiler): allow @CONST annotation on class
...
Closes #148
2014-11-05 15:44:34 -08:00
Victor Berchet
94958e084e
fix(super): super() now means call the proto of the current function.
...
See https://github.com/google/traceur-
compiler/commit/6732e5eddf203ae02bcfb8faea837590bf32c061
2014-10-27 22:26:38 +01:00
vsavkin
f524a89cb6
feat(injector): add support for default bindings
2014-10-12 17:29:02 -04:00
vsavkin
ee1e54cf0a
feat(transpiler): add support for named params to new expressions
2014-10-12 17:21:50 -04:00
Vojta Jina
2d19e7122b
refactor(transpiler): instanceof
2014-10-09 15:22:21 -07:00
Victor Berchet
d1b90e125b
feat(transpiler): add support for arrow functions
...
fixes #28
2014-10-09 14:44:07 -07:00
Victor Berchet
5818c3bf28
refactor(named parameters): mimic original traceur architecture
2014-10-08 12:53:55 +02:00
vsavkin
b2199632c7
feat(injector): initial implementaion of dynamic injector
2014-10-03 15:35:33 -04:00
Victor Berchet
089a2f1b62
feat(transpiler): constructor and typed field semantics
...
fixes #11 (constructor and typed field semantics)
fixes #42 (Should we infer class property types from ctor args ?)
fixes #17 (number (js) should map to num (dart))
Closes #45
2014-10-02 21:02:47 -07:00
vsavkin
64fe73e20d
feat(transpiler): handle named params
2014-10-02 17:31:04 -04:00
Victor Berchet
64d3cc68f0
refactor(transpiler): split the monolithic dart transformer
...
fixes #24
The new architecture conforms with the Traceur architecture.
2014-09-30 16:15:35 +02:00