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;
|
return GenBBAccess() + ".__union_with_string" + arguments;
|
||||||
case BASE_TYPE_VECTOR: return GenGetter(type.VectorType(), arguments);
|
case BASE_TYPE_VECTOR: return GenGetter(type.VectorType(), arguments);
|
||||||
default: {
|
default: {
|
||||||
auto getter = GenBBAccess() + "." +
|
auto getter = GenBBAccess() + "." + "read" + GenType(type) + arguments;
|
||||||
namer_.Method("read_" + GenType(type)) + arguments;
|
|
||||||
if (type.base_type == BASE_TYPE_BOOL) { getter = "!!" + getter; }
|
if (type.base_type == BASE_TYPE_BOOL) { getter = "!!" + getter; }
|
||||||
return getter;
|
return getter;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue