We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9154a02 commit a7c24b1Copy full SHA for a7c24b1
compiler/src/dotty/tools/dotc/typer/Nullables.scala
@@ -38,7 +38,7 @@ object Nullables:
38
if ctx.flexibleTypes then FlexibleType(hi) else OrType(hi, defn.NullType, soft = false)
39
else hi
40
41
-/** Create a nullable type bound
+ /** Create a nullable type bound
42
* If lo is `Null`, `| Null` is added to hi
43
*/
44
def createNullableTypeBounds(lo: Type, hi: Type)(using Context): TypeBounds =
0 commit comments