I'm seeing that under some conditions NiceSlice makes unrelated syntax
errors be reported at the wrong line. For example, consider this source
Syntactically, this is just fine as PDL code, but the last line is a
syntax error; this is line 7. Running 'perl -c tst.pl' does report the
syntax error, but on line 6, instead of line 7. Commenting out the 'use
PDL::NiceSlice' line makes it work (error reported on line 7). Adding
comments at the end of the NiceSlice access (lines 5,6) makes it work
This is clearly the source filter misbehaving. Can somebody who's
familiar with this code take a look?
Log in to post a comment.