sord
sord copied to clipboard
Correctly parse Array<T, nil> and friends
Parse Array<T, nil> into Type::Array.new(Types::Nilable.new('String') instead of the invalid Types::Array.new(Types::Union.new(['String', 'nil']))
Looks like this fix broke the Hash{T => T} case - will take another crack at things tomorrow.
Superceded by #187