mirror of https://github.com/AMT-Cheif/drift.git
Add safety fallback for new types being added
This commit is contained in:
parent
45dc099440
commit
052abfbab2
|
@ -281,6 +281,9 @@ class _AddFromDartType {
|
|||
visitTypeParameterType(type);
|
||||
} else if (type is VoidType) {
|
||||
visitVoidType(type);
|
||||
} else {
|
||||
_builder.addText(
|
||||
'/* unknown type ${type.getDisplayString(withNullability: true)} */');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue