aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intertyper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index a00846d0..e9a246be 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -690,7 +690,7 @@ function intertyper(lines, sidePass, baseLineNums) {
});
if (item.assignTo) item.ident = 'return ' + item.ident;
item.ident = '(function(' + params + ') { ' + item.ident + ' })(' + args + ');';
- return { forward: null, ret: [item], item: item };
+ return { forward: null, ret: item, item: item };
}
if (item.ident.substr(-2) == '()') {
// See comment in isStructType()