elixir-tools / spitfire

Error tolerant parser for Elixir
https://www.elixir-tools.dev
MIT License
69 stars 7 forks source link

Grouped expression with single expression sometimes is a block #4

Closed mhanberg closed 6 months ago

mhanberg commented 6 months ago

Description

Currently the following snippet is parsed as a :__block__ by Code.string_to_quoted, but I'm not sure why

(!false)

I have asked a question to core to resolve what the behavior should be: https://github.com/elixir-lang/elixir/issues/13324

mhanberg commented 6 months ago

Closed by 6a37c61e884179d1cd1f9acc31aa11108b19e813