The regression seems to appear in commit b78029b5afb3bfa69cf. (fixes #4626)

here is a testfile. 
    
    
    type
        Element = enum
            FIRST
            SECOND
            THIRD
    
    converter toInt*(x: Element): int = x.int
    var data = [1,2,3]
    
    echo(data[SECOND])
    data[SECOND] = 4
    

Reply via email to