We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de0d46 commit 512cdd8Copy full SHA for 512cdd8
compiler/src/Generate/JavaScript.hs
@@ -54,14 +54,14 @@ makeArgLookup graph home name =
54
Just arity
55
Just (Opt.Link global) ->
56
case Map.lookup global graph of
57
- Just (Opt.Cycle names _ defs _) ->
+ Just (Opt.Cycle _ _ defs _) ->
58
case List.find (\d -> defName d == name) defs of
59
Just (Opt.Def _ _ (Opt.Function _ args _)) ->
60
Just (length args)
61
Just (Opt.TailDef _ _ args _) ->
62
63
_ ->
64
- error (show names)
+ Nothing
65
66
Nothing
67
0 commit comments