Elektrine lite

← Feed

@brass75@twit.social

Post #2476221

2026-05-02 11:46 UTC

@grant_h@mastodon.social @qoyyuum@fosstodon.org because that's how mutable variables work. It seems more like you want to know why an exception wasn't made for the case where a mutable value was used as the default for a parameter.

Replies (1)

  • @grant_h@mastodon.social 2026-05-02 12:13

    @brass75@twit.social @qoyyuum@fosstodon.org I get mutable, even though it's a bit subtle here (via the assignment) . The gotcha here was only setting the default at first call, and then persisting it. I think the next reply in the thread picks up on that.

    Open ##2476222