Closed KronicDeth closed 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:
fun()
lumen/otp
erts/preloaded/src/erl_prim_loader.erl:224:23
lib/compiler/src/beam_ssa.erl:83:67
lib/dialyzer/src/dialyzer_coordinator.erl:80:39
lib/diameter/src/base/diameter.erl:317:11
lib/diameter/src/base/diameter_lib.erl:198:47
lib/kernel/src/error_handler.erl:57:18
lib/stdlib/src/uri_string.erl:1476:35
fun()
is an allowed type in type specs, but the EIR parser cannot parse it, which breaks compilinglumen/otp
Erlang source, such as:erts/preloaded/src/erl_prim_loader.erl:224:23
lib/compiler/src/beam_ssa.erl:83:67
lib/dialyzer/src/dialyzer_coordinator.erl:80:39
lib/diameter/src/base/diameter.erl:317:11
lib/diameter/src/base/diameter_lib.erl:198:47
lib/kernel/src/error_handler.erl:57:18
lib/stdlib/src/uri_string.erl:1476:35