lean4-htt/tests/lean/scientific.lean.expected.out
Kyle Miller 76051ab1fe
feat: use name resolution for dot identifier notation (#9634)
This PR modifies dot identifier notation so that `(.a : T)` resolves
`T.a` with respect to the root namespace, like for generalized field
notation. This lets the notation refer to private names, follow aliases,
and also use open namespaces. The LSP completions are improved to follow
how dot ident notation is resolved, but it doesn't yet take into account
aliases or open namespaces.

Closes #9629
2025-08-01 02:27:40 +00:00

29 lines
1.5 KiB
Text

10.000000
10.000000
0.100000
0.000000
5843.000000
8430000.000000
0.000001
123.000000
123000.000000
-8.534000
scientific.lean:14:6-14:7: error: invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)
scientific.lean:14:7-14:10: error: unexpected token; expected command
scientific.lean:15:6-15:7: error: invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)
scientific.lean:15:7-15:12: error: unexpected token; expected command
scientific.lean:16:6-16:7: error: invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)
scientific.lean:16:7-16:16: error: unexpected token; expected command
scientific.lean:19:6-19:7: error(lean.unknownIdentifier): Unknown identifier `e`
scientific.lean:20:9: error: missing exponent digits in scientific literal
scientific.lean:21:9: error: missing exponent digits in scientific literal
scientific.lean:22:9: error: missing exponent digits in scientific literal
scientific.lean:23:9: error: missing exponent digits in scientific literal
scientific.lean:24:9: error: missing exponent digits in scientific literal
scientific.lean:25:9: error: missing exponent digits in scientific literal
scientific.lean:26:6-26:8: error(lean.unknownIdentifier): Unknown constant `Nat.E`
Note: Inferred this name from the expected resulting type of `.E`:
Nat
scientific.lean:27:7-27:9: error(lean.unknownIdentifier): Unknown identifier `E3`
scientific.lean:28:7: error: missing exponent digits in scientific literal