asedunov / intellij-crystal-lang

An IntelliJ plugin for Crystal language
Apache License 2.0
39 stars 5 forks source link

Support parsing of arbitrarily nested block parameters #66

Closed asedunov closed 1 year ago

asedunov commented 1 year ago

Recent changes in Crystal compiler (https://github.com/crystal-lang/crystal/commit/b69838c0b6c08788e557f1959a788f779feefa04) have introduced a block unpacking which allows to declare arbitrarily nested parameters in call blocks, e.g.

foo { |(a, (b, (c, d)))| }

This should be supported in plugin as well