solargraph
solargraph copied to clipboard
Nested parameterized types not recognized
It seems that nested parameterized types are not recognized by Solargraph's type checker. For instance Array<String> is OK but Array<Array<String>> is not.
I expected the latter to be supported because it appears to be valid according to the YARD Type Parser.
Sample code:
# @param bar [Array<Array<String>>] the arg
def foo(bar); end
% solargraph typecheck
/path/to/sample.rb:2 - Unresolved type undefined for bar param on #foo
1 problem found.