gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Name resolution globbing

Open P-E-P opened this issue 1 year ago • 1 comments

Late name resolution was not used and did not handle globbing.

P-E-P avatar Jan 15 '24 12:01 P-E-P

@CohenArthur how much of this can be merged as-is?

powerboat9 avatar Feb 13 '24 00:02 powerboat9

I still need to reorder some commits and fix the changelog but this is nearly done :tada:

P-E-P avatar Mar 22 '24 18:03 P-E-P

I don't think there are any test cases for glob imports, could we add some?

I've added two tests, name_resolution23.rs and name_resolution24.rs. The first one checks the globbing works and ambiguity errors are not triggered when the ambiguous symbol is not used. The second one ensure an error is emitted when an ambiguous symbol is called.

P-E-P avatar Mar 26 '24 10:03 P-E-P

amazing work on this @P-E-P, well done :)

CohenArthur avatar Mar 26 '24 19:03 CohenArthur