1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Don’t shadow the continuation.

This commit is contained in:
Rob Rix 2015-10-21 16:04:06 -04:00
parent df4e37e5de
commit ee1c1acb5b

View File

@ -72,10 +72,10 @@
} }
} }
function term(term, a, b) { function term(json, a, b) {
if (term.extract == null || term.unwrap == null) { return null; } if (json.extract == null || json.unwrap == null) { return null; }
return new Term(term.extract, syntax(term.unwrap, a, b, term)); return new Term(json.extract, syntax(json.unwrap, a, b, term));
} }
function patch(patch, a, b) { function patch(patch, a, b) {