Skip to content

fix(lean): emit unqualified trait fields in default method bodies (#1889)#2023

Open
MavenRain wants to merge 1 commit into
cryspen:mainfrom
MavenRain:lean-trait-constants-1889
Open

fix(lean): emit unqualified trait fields in default method bodies (#1889)#2023
MavenRain wants to merge 1 commit into
cryspen:mainfrom
MavenRain:lean-trait-constants-1889

Conversation

@MavenRain

Copy link
Copy Markdown
Contributor

The fix matches Maxime Buyse's quick-fix recommendation in the issue thread (drop qualification AND drop the Self argument). It does NOT address the recursion / forward-reference concerns; those are fundamentally constrained by Lean's class default-value semantics and remain in scope of #1904.

…yspen#1889)

  The fix matches Maxime Buyse's quick-fix recommendation in the issue thread
  (drop qualification AND drop the Self argument). It does NOT address the
  recursion / forward-reference concerns; those are fundamentally constrained by
  Lean's class default-value semantics and remain in scope of
  cryspen#1904.
@MavenRain MavenRain requested a review from a team as a code owner May 3, 2026 21:44
@MavenRain MavenRain requested a review from clementblaudeau May 3, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant