Skip to content

Commit 40f29c5

Browse files
Merge pull request #11708 from ShapelessCat/fix-links
Fix two links in the Explicit Nulls doc
2 parents cc87d06 + 93c4e6c commit 40f29c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/other-new-features/explicit-nulls.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ So far, we have found the following useful:
6262

6363
When imported, `T | Null` can be used as `T`, similar to regular Scala (without explicit nulls).
6464

65-
See [UnsafeNulls](#UnsafeNulls) section for more details.
65+
See [UnsafeNulls](#unsafenulls) section for more details.
6666

6767
## Unsoundness
6868

@@ -425,7 +425,7 @@ When dealing with local mutable variables, there are two questions:
425425
x = null
426426
```
427427

428-
See [more examples](../../../../tests/explicit-nulls/neg/flow-varref-in-closure.scala).
428+
See [more examples](https://github.com/lampepfl/dotty/blob/master/tests/explicit-nulls/neg/flow-varref-in-closure.scala).
429429

430430
Currently, we are unable to track paths with a mutable variable prefix.
431431
For example, `x.a` if `x` is mutable.

0 commit comments

Comments
 (0)