fix: only fall back to term elaboration for compound identifiers The previous implementation swallowed all constant lookup errors and fell back to term elaboration. This caused: 1. Deprecated warnings not being shown (missing checkDeprecated call) 2. Wrong error messages for unknown simple identifiers Now only fall back to term elaboration for compound identifiers like `foo.le` where dot notation is plausible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.