Closed simoncowen88 closed 5 years ago
Hey, this seems to be working for me. https://jindraivanek.gitlab.io/fantomas-ui/#?fantomas=preview-trivia&code=NoHgwgrgzgLg9gWwKIEcIEMA2BLGBPAbgAIA5OMRAB3QCdso4A7APgF0BYAKH0oFMiAYnDhEAvFyKSiAH0HCJUuADdeNOgBN+AfS0A6VBkxQiWsUQBmWKLwWTlqjdr0BxXjAAS6KAAsKmogAUAJRmAAxAA Unless I'm missing the point here.
A colleague mentioned this to me today, it appears to have been fixed on the trivia branch. It would be good to have a test to assert this continues to be the case as I couldn't find an issue/test related to this rather specific scenario (the interaction of attributes with overridden methods), suggesting that it may well currently be working by coincidence.
Description
override
can be replaced bymember
when it is not valid to do so.Code
Result
This gives a compiler error of:
(I'm currently behind a firewall that won't let me access http://ratatosk.dynu.net/fantomas - I can update with a link once I'm connected elsewhere if needed)
Options
Version: 3.0.0-beta-002