kylegoetz / tree-sitter-unison

Tree Sitter grammar for Unison programming language
MIT License
7 stars 8 forks source link

list pattern matching might fail in certain path-related situations #89

Closed kylegoetz closed 2 weeks ago

kylegoetz commented 1 month ago

the parser for :+ and +: allow optional List. to come befor, but what if it's lib.base.data.List.:+ for example?

Write a utility function like pathify that takes something and allows a path right before it

kylegoetz commented 2 weeks ago

Have discussed with Unison team, and it was a mistake to say List. can appear in the special list patterns

As such, will not fix.