Skip to content

Commit bed9f6a

Browse files
rsshnicolasstucki
andauthored
add TypeBounds constructors
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent 1acb7fd commit bed9f6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/src/scala/tasty/Reflection.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,9 @@ trait Reflection { reflection =>
22972297
trait TypeBoundsModule { this: TypeBounds.type =>
22982298
def apply(low: Type, hi: Type): TypeBounds
22992299
def unapply(x: TypeBounds): Option[(Type, Type)]
2300-
def minmax: TypeBounds
2300+
def empty: TypeBounds
2301+
def upper(hi: Type): TypeBounds
2302+
def lower(lo: Type): TypeBounds
23012303
}
23022304

23032305
given TypeBoundsMethods as TypeBoundsMethods = TypeBoundsMethodsImpl

0 commit comments

Comments
 (0)