sord icon indicating copy to clipboard operation
sord copied to clipboard

Correctly parse Array<T, nil> and friends

Open apiology opened this issue 10 months ago • 1 comments

Parse Array<T, nil> into Type::Array.new(Types::Nilable.new('String') instead of the invalid Types::Array.new(Types::Union.new(['String', 'nil']))

apiology avatar Mar 02 '25 20:03 apiology

Looks like this fix broke the Hash{T => T} case - will take another crack at things tomorrow.

apiology avatar Mar 03 '25 21:03 apiology

Superceded by #187

apiology avatar Jul 04 '25 20:07 apiology