Commit c72464e
committed
Fix assertion failure in saveQualifierReferences
Check that the symbol is a class or module before calling asClassOrModuleRef().
This prevents crashes when processing symbols that are not classes or modules
(e.g. fields or methods) but are encountered in contexts where a class or module
reference was assumed.
Amp-Thread-ID: https://ampcode.com/threads/T-3ff237da-1bb4-43d1-abb5-989b228d9f591 parent aaea9cd commit c72464e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
0 commit comments