Fix broken Java/C# codegen

This commit is contained in:
Wouter van Oortmerssen
2018-03-05 16:37:04 -08:00
parent 3a62813f0e
commit 4bc6de9a88
8 changed files with 44 additions and 39 deletions

View File

@@ -247,7 +247,7 @@ public final class Monster extends Table {
start += middle;
span -= middle;
} else {
return (obj == null ? new Monster(), obj).__assign(tableOffset, bb);
return (obj == null ? new Monster() : obj).__assign(tableOffset, bb);
}
}
return null;