1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
psalm/tests/LanguageServer
Joe Hoyle 11af82a97f
Fix jumping to definition on nullable parameters (#3804)
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).
2020-07-11 17:12:03 -04:00
..
CompletionTest.php Fix #3117 - invalidate all caches when composer lockfile changes 2020-04-12 11:41:37 -04:00
SymbolLookupTest.php Fix jumping to definition on nullable parameters (#3804) 2020-07-11 17:12:03 -04:00