Commit 4b2b07b
[_fe_analyzer_shared] Test late resolution of macro metadata
This delays the resolution of the identifier in metadata, such the
parsed annotation expression is initially unresolved and
`Expression.resolve` must be called in order to resolve it.
This execises the support for references to identifiers declare via
macros, which will initially occur as unresolved identifiers.
Change-Id: I4863ce950ded0b9d2c1744421d9751cddea6e80c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/391641
Reviewed-by: Konstantin Shcheglov <[email protected]>
Reviewed-by: Jens Johansen <[email protected]>1 parent c0381d0 commit 4b2b07b
File tree
28 files changed
+2851
-502
lines changed- pkg
- analyzer
- lib/src/summary2
- test/id_tests
- front_end
- lib/src
- builder
- kernel/macro
- test/id_tests
28 files changed
+2851
-502
lines changedLines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
26 | 52 | | |
27 | 53 | | |
28 | 54 | | |
| |||
308 | 334 | | |
309 | 335 | | |
310 | 336 | | |
311 | | - | |
| 337 | + | |
312 | 338 | | |
313 | | - | |
| 339 | + | |
314 | 340 | | |
| 341 | + | |
315 | 342 | | |
316 | 343 | | |
317 | 344 | | |
| |||
0 commit comments