mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 10:54:11 +00:00
* Issue #4799 fixed. Generator for KeyCompareWithValue is extracted. * format fix
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
f19803d364
commit
8ea293b988
@@ -12,7 +12,7 @@ class EnumInNestedNS {
|
||||
const EnumInNestedNS._(this.value);
|
||||
|
||||
factory EnumInNestedNS.fromValue(int value) {
|
||||
if (value == null) return null;
|
||||
if (value == null) value = 0;
|
||||
if (!values.containsKey(value)) {
|
||||
throw new StateError('Invalid value $value for bit flag enum EnumInNestedNS');
|
||||
}
|
||||
@@ -59,7 +59,7 @@ class TableInNestedNS {
|
||||
final fb.BufferContext _bc;
|
||||
final int _bcOffset;
|
||||
|
||||
int get foo => const fb.Int32Reader().vTableGet(_bc, _bcOffset, 4, null);
|
||||
int get foo => const fb.Int32Reader().vTableGet(_bc, _bcOffset, 4, 0);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
|
||||
Reference in New Issue
Block a user