1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

Construct new terms.

This commit is contained in:
Rob Rix 2015-10-21 15:58:55 -04:00
parent ebd101b22f
commit 17877c7f36

View File

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