mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 15:48:47 +00:00
fix argument order
This commit is contained in:
parent
b100346911
commit
6a72e69d32
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ let compile (defs, p) =
|
|||
let bindings =
|
||||
transform(Pattern.t)
|
||||
(fun fself ->
|
||||
object inherit [int list, (string * int list) list, _] @Pattern.t
|
||||
object inherit [int list, _, (string * int list) list] @Pattern.t
|
||||
method c_Wildcard path _ = []
|
||||
method c_Named path _ s p = [s, path] @ fself path p
|
||||
method c_Sexp path _ x ps = List.concat @@ List.mapi (fun i p -> fself (path @ [i]) p) ps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue