mna / agora

a dynamically typed, garbage collected, embeddable programming language built with Go
https://github.com/mna/agora/wiki
BSD 3-Clause "New" or "Revised" License
324 stars 27 forks source link

typo on emitter.go:225 #25

Closed BenLubar closed 10 years ago

BenLubar commented 10 years ago

https://github.com/PuerkitoBio/agora/blob/31eb3645f349bc0fd577a00d87dfffef90d62195/compiler/emitter/emitter.go#L225

    case "=":
        e.assert(sym.Ar == parser.ArBinary, errors.New("expected `+` to have binary arity"))

the symbol should be =, not +.

mna commented 10 years ago

Thanks, fixed on next branch.