ccrma / chuck

ChucK Music Programming Language
http://chuck.stanford.edu/
GNU General Public License v2.0
799 stars 127 forks source link

chuck/miniAudicle error caret position error #409

Open gewang opened 9 months ago

gewang commented 9 months ago

repeated compilation with error seems to not reset error position (miniAudicle, possibly also CLI)

fun int[] foo( x ) { return null; }

error:

Untitled:1:18: syntax error
[1] fun void foo( int[] a )
                     ^
Untitled:1:36: syntax error
[1] fun int[] foo( x )
                                       ^
Untitled:1:54: syntax error
[1] fun int[] foo( x )
                                                         ^