Commit 2025-12-20 22:24 359769ac

View on Github →

feat(to_fun): throw a warning instead of creating a duplicate declaration (#33136) I noticed that people using the to_fun attribute were having a hard time realizing that the attribute didn't do anything in some cases. So, if the declaration type is unchanged, throw an error. One such existing case has been uncovered in this PR.

Estimated changes