dotty icon indicating copy to clipboard operation
dotty copied to clipboard

Scala with explicit nulls

Results 14 dotty issues
Sort by recently updated
recently updated
newest added

The following should typecheck, but currently doesn't: ``` class Foo { val x: String|Null = "hello" val res: String = x match { case null => "it's null" case s...

explicit-null

@liufengyun writes Currently, there are 3 well-known NonNull annotations in the Java world: - JSR 305 : javax.annotation.Nonnull - Android: @NonNull - CheckerFramework: @NonNull A quick github search suggests that...

explicit-null

Might need to wait until Dotty drops support of scalac.

explicit-null

Java enums get a bunch of synthesized methods: https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html Some of them (e.g. `valueOf` and `values`) never return `null`. Adjust `JavaNullMap` to account for that.

explicit-null