cliffclick / aa

Cliff Click Language Hacking
Apache License 2.0
276 stars 22 forks source link

Typo in Oper.java? #27

Closed keithc-ca closed 2 years ago

keithc-ca commented 2 years ago

https://github.com/cliffclick/aa/blob/19dae3a59debb2c6b7ed7f55f5a231cff75e0631/src/main/java/com/cliffc/aa/Oper.java#L51

Should the line read

    char c0 = name.charAt(0), c1 = name.charAt(1);

instead? The assert on the next line seems to expect c0 and c1 to be different.

cliffclick commented 2 years ago

Fixed by 137c65ee1ed1100b6e4d684b2d1c5c99962484ce