@@ -10,7 +10,6 @@ let std-apply-macro-candidates(tctx: TContext?, mname: CString, margs: AST, cand
10
10
for Tuple{ctype=first, second:Abs{mlhs=lhs,rhs:App{left:Lit{key:c":"},right:App{mrhs=left}}}} in candidates {
11
11
if not(non-zero(t)) {
12
12
(let new-tctx, let mctx) = std-try-destructure-macro(tctx, margs, ctype, mlhs);
13
- print("Apply Candidate \{mname} \{mlhs}\nContext: \{new-tctx}\n");
14
13
if mctx.is-some then mctx = union(mctx, Some{extract-uuids(mrhs)});
15
14
if mctx.is-some then t = with-location-preserve(substitute(mctx.get-or-panic, mrhs), margs.location);
16
15
}
@@ -19,7 +18,6 @@ let std-apply-macro-candidates(tctx: TContext?, mname: CString, margs: AST, cand
19
18
);
20
19
21
20
let std-try-destructure-macro(tctx: TContext?, margs: AST, mtype: Type, mcandidate: AST): (TContext?, AContext?) = (
22
- print("Destructure \{mtype}\nArgs: \{margs}\nCandidate \{mcandidate}\n");
23
21
let no = None :: AContext?;
24
22
if let Abs{lhs=lhs, rhs=rhs} = mcandidate then std-try-destructure-macro(tctx, margs, mtype, lhs)
25
23
else {
@@ -49,7 +47,6 @@ let std-try-destructure-macro(tctx: TContext?, margs: AST, mtype: Type, mcandida
49
47
App{left:Var{maybe-helper=key}, helper-args=right} => (
50
48
if macro-helper==maybe-helper {
51
49
(tctx, let helped) = std-apply-macro-weak(tctx, macro-helper, helper-args);
52
- print("Macro Helper \{macro-helper}: \{helped}\n");
53
50
if non-zero(helped)
54
51
then (tctx, std-direct-destructure-macro(helped, mstruct))
55
52
else (tctx, no)
@@ -58,7 +55,6 @@ let std-try-destructure-macro(tctx: TContext?, margs: AST, mtype: Type, mcandida
58
55
_ => (
59
56
if macro-helper==c"macro::variable" {
60
57
(tctx, let helped) = std-apply-macro-weak(tctx, macro-helper, margs);
61
- print("Macro Helper \{macro-helper}: \{helped}\n");
62
58
if non-zero(helped)
63
59
then (tctx, std-direct-destructure-macro(helped, mstruct))
64
60
else (tctx, no)
0 commit comments