This commit is contained in:
David Peter 2025-07-03 10:29:28 +02:00
parent 8eca0b9e79
commit bacbae9680
2 changed files with 2 additions and 1 deletions

View file

@ -81,3 +81,4 @@ To learn more, see:
- [Public type of undeclared symbols](doc/public_type_undeclared_symbols.md)
- [Nonlocal types](nonlocal_types.md)
- [Boundness and declaredness: public uses](boundness_declaredness/public.md)

View file

@ -46,7 +46,7 @@
//! resolving `f` at each of the three numbered positions will give you a `FunctionType`, which
//! wraps a `FunctionLiteral`, which contain `OverloadLiteral`s only for the definitions that
//! appear before that position. We rely on the fact that later definitions shadow earlier ones, so
//! the public type of `f` is resolved at position 3, correctly giving you all of the overloads
//! the final type of `f` is resolved at position 3, correctly giving you all of the overloads
//! (and the implementation).
use std::str::FromStr;