overpy
overpy copied to clipboard
Properly support redeclaration of enums
enum Cooldown:
ABILITY_1 = 0
enum Cooldown:
HOOK = Cooldown.ABILITY_1
rule "":
A = Cooldown.HOOK
Here the second declaration overwrites the first.
Either throw an error or merge both declarations.