You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PLUGINS/BACKEND/C/std-c-compile-call.lsts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ let std-c-compile-call(ctx: FContext, fname: CString, return-hint-if-constructor
6
6
.expect("std-c-compile-call Function \{fname} was null\nArguments: \{typeof-term(args)}, Return Hint \{return-hint-if-constructor}\nAt \{args.location}\n").blame-or-zero;
7
7
if typeof-term(fterm).is-t(c"Blob",0) {
8
8
if typeof-term(fterm).is-open and fname!=c"open" and fname!=c"mov" then {
9
-
for list tr in Some(mk-tctx()).lookups(fname) {
9
+
for vector tr in Some(mk-tctx()).lookups(fname) {
10
10
print("STD C compile call candidate \{fname} : \{tr.dt-or-zero}\n");
11
11
};
12
12
exit-error("STD C compile call is open \{fname} (\{typeof-term(args)})\n\{typeof-term(fterm)}\nArgs \{args}\n", args);
@@ -23,7 +23,7 @@ let std-c-compile-call(ctx: FContext, fname: CString, return-hint-if-constructor
23
23
} else if typeof-term(fterm).is-t(c"Prop",0) { std-c-compile-expr(ctx, args, false)
24
24
} else {
25
25
if typeof-term(fterm).is-open then {
26
-
for list tr in Some(mk-tctx()).lookups(fname) {
26
+
for vector tr in Some(mk-tctx()).lookups(fname) {
27
27
print("STD C compile call candidate \{fname} : \{tr.dt-or-zero}\n");
28
28
};
29
29
exit-error("STD C compile call is open \{fname} (\{typeof-term(args)})\n\{typeof-term(fterm)}\nArgs \{args}\n", args);
0 commit comments