-
Notifications
You must be signed in to change notification settings - Fork 109
can't compile angular with tsickle 0.1.4 #151
Comments
The stacktrace points at this: let sym = this.typeChecker.getTypeAtLocation(param.type).getSymbol(); Maybe try getTypeAtLocation on |
I thought that the different typescript version was the likely problem, but upgrading [email protected] I still can't reproduce this issue in tsickle's unit test. |
microsoft/TypeScript#8136 seems like the same stack. Regardless of using the API right, mhegazy observes that it shouldn't crash. |
I agree, there's surely a repro for this we could add in TS somewhere but it would be daunting to find the right spot... Interesting that it can repro with 1.8 and 1.9-dev |
oops, that fix broke the build, trying again... |
/subscribe |
after great debugging, this turned out to be simple: the source file being passed to tsickle wasn't type-checked so it had no symbol table references. Was a bug in my tsickle update PR. |
Oh dear. Well, good that we finally figured it out. |
👍 On Thu, Jun 9, 2016 at 3:58 PM, Martin Probst [email protected]
|
I added a bit of debug info. We blow up here:
https://github.com/angular/angular/blob/7aa1790874b76db122a93316d9324029f766c9f3/modules/%40angular/common/src/pipes/async_pipe.ts#L81
when attempting to
this.typeChecker.getTypeAtLocation(param.type)
of theChangeDetectorRef
-typed parameter.fyi @martine
The text was updated successfully, but these errors were encountered: