Closed jamcoupe closed 10 years ago
@chalin or @vicb does this sound familiar?
Doesn't ring a bell. Will check it out as soon as I can.
Thanks very much, Patrice.
A lot of code generation stuff appears to have changed in 0.9.9. The template_cache_generator appears to be inherently broken (see https://github.com/angular/angular.dart/issues/750).
Also, something has changed with the way the StaticParser is to be configured (See http://stackoverflow.com/questions/22488440/what-do-i-do-with-the-file-created-by-the-expression-generator-as-of-angular-dar)
I've got the similar error.
entryPoint: web/main.dart
classAnnotations: angular.core.NgComponent, angular.core.NgController, angular.core.NgDirective, angular.core.NgFilter, injectable.InjectableService, angular.core.service.NgInjectableService
output: web/di_factories_gen.dart
packageRoots: [packages]
Unhandled exception:
type '_LinkedHashSet<String>' is not a subtype of type 'List<String>' of 'exprs'.
#0 ParserGetterSetter.generateParser (package:angular/tools/parser_getter_setter/generator.dart:37:31)
#1 main.<anonymous closure> (package:angular/tools/expression_extractor.dart:66:52)
#2 _rootRun (dart:async/zone.dart:710)
#3 _rootRun (dart:async/zone.dart:711)
#4 _rootRun (dart:async/zone.dart:711)
#5 _ZoneDelegate.run (dart:async/zone.dart:440)
#6 _CustomizedZone.run (dart:async/zone.dart:650)
#7 runZoned (dart:async/zone.dart:944)
#8 main (package:angular/tools/expression_extractor.dart:64:11)
#9 _runNgGenerator (file:///home/../Chapter_07/bin/generator.dart:50:20)
#10 main (file:///home/../Chapter_07/bin/generator.dart:30:18)
#11 _startIsolate.isolateStartHandler (dart:isolate-patch/isolate_patch.dart:216)
#12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:115)
I'm getting a similar error.
@pavelgj do we even need the generator now? "Now" meaning 0.9.10 or any subsequent release?
Guess not. Should switch to transformers.
I'll update the page to say that it's going to change very soon.
Page updated, and new text is ready to go once 0.9.11 is out.
Whenever I try running 'dart -c bin/generator.dart' I get this error.