dart-archive / ts2dart

ts2dart TypeScript to Dart transpiler
Apache License 2.0
181 stars 62 forks source link

add @ts2dart_const to constructor #370

Closed mhevery closed 8 years ago

mhevery commented 8 years ago
export class DefaultIterableDifferFactory implements IterableDifferFactory {
  /* @ts2dart_const */
  constructor() {}
}

should produce:

class DefaultIterableDifferFactory implements IterableDifferFactory {
  const DefaultIterableDifferFactory();
}
mprobst commented 8 years ago

Duplicate of #369, I think?