You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b50f182
Browse filesBrowse the repository at this point in the historyBrowse files
Keep subclasses of string, int and float apart in unions
StringType::getStringRefinement() and IntegerType/FloatType::toExactNumberSet()
now describe only the exact class. A subclass defined by an extension, as
Larastan's model property of X, may hold fewer values than its parent, so
ScalarUnion merged two of them by their cells or numbers and kept only the
first: model property of User|model property of Account became model property
of User. They now get null and are unioned by isSuperTypeOf().
ConstantIntegerType, ConstantFloatType and FloatRangeType, whose numbers are
exact, override toExactNumberSet() to keep theirs.
Amp-Thread-ID: https://ampcode.com/threads/T-01a21c4a-e25b-74f0-9147-bfb3ae88286a
0 commit comments