This repository was archived by the owner on Sep 16, 2022. It is now read-only.
Commit 8668399
committed
fix(Compiler): Add a workaround for #908, "extra" type inference for tokens.
After this CL, we will infer, in the view compiler:
`Provider<dynamic>(OpaqueToken<T>)`
as
`Provider<T>(OpaqueToken<T>)`
This isn't strictly right, but its better than emitting incorrect types
(dynamic), which can block Dart2. Once #908 is fixed, we can revert this
change.
PiperOrigin-RevId: 1867881421 parent fda4d5e commit 8668399
File tree
1 file changed
+13
-0
lines changed- angular/lib/src/source_gen/template_compiler
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
120 | 133 | | |
121 | 134 | | |
122 | 135 | | |
| |||
0 commit comments