mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
11af82a97f
Currently it's not possible to "Go to definition" (LSP) on nullable args like `function( ?MyClass )` as the reference is stored a `MyClass|null` in the reference map, which will now resolve to a class name. This PR removed any nullable type from the union before adding it to the reference map (as the reference map is only use to indicate a symbol was used in a given location, I think this makes sense). |
||
---|---|---|
.. | ||
CompletionTest.php | ||
SymbolLookupTest.php |