updated method call (#7642)
This commit is contained in:
parent
bb9b9dad5f
commit
eead6c6219
|
@ -387,8 +387,7 @@ class TsGenerator : public BaseGenerator {
|
|||
return GenBBAccess() + ".__union_with_string" + arguments;
|
||||
case BASE_TYPE_VECTOR: return GenGetter(type.VectorType(), arguments);
|
||||
default: {
|
||||
auto getter = GenBBAccess() + "." +
|
||||
namer_.Method("read_" + GenType(type)) + arguments;
|
||||
auto getter = GenBBAccess() + "." + "read" + GenType(type) + arguments;
|
||||
if (type.base_type == BASE_TYPE_BOOL) { getter = "!!" + getter; }
|
||||
return getter;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue