GetFirefly / firefly

An alternative BEAM implementation, designed for WebAssembly
Apache License 2.0
3.61k stars 104 forks source link

fun() is not allowed in type specs #596

Closed KronicDeth closed 4 years ago

KronicDeth commented 4 years ago

fun() is an allowed type in type specs, but the EIR parser cannot parse it, which breaks compiling lumen/otp Erlang source, such as: