logoalt Hacker News

ygratoday at 6:51 AM0 repliesview on HN

You don't have to write the method twice. Source generators can only add new code, they cannot take away a method you declared, so it will still be there at runtime when called with non-constant arguments.