dart-archive/angular_analyzer_plugin

Show input & output names which failed to bind as part of the errors

Closed this issue · 1 comments

Its hard to tell when things get sugared/desugared what exactly is going on.

For instance, ff you fail to include NgFor in your directives list for a component and then use the template <div *ngFor="item of items">...</div>, you get the error "bound input does not exist on any directives" with a squiggle under "of". Should say "bound input [ngForOf] does not exist on any directives" to be clearer.

Of course, ngFor and ngIf may deserve errors specific to them, but its good to have the fundamentals done well.

PR #98 merged