Re: -c bug to report

2018-07-25 Thread Todd Chester
On 07/25/2018 12:23 PM, Brandon Allbery wrote: here's been discussion about having -c run the optimize stage as well, since some information needed for full checking doesn't exist in a useful form until then. I like the idea!

Re: -c bug to report

2018-07-25 Thread Patrick R. Michaud
On Wed, Jul 25, 2018 at 11:48:30AM -0700, ToddAndMargo wrote: > Maybe I am trying to get "-c" to do too many things. > > What I would like it to do is to check everything right up to but not > actually run the program. Part of the challenge here is that unlike many other programming languages, P

Re: -c bug to report

2018-07-25 Thread Brandon Allbery
There's been discussion about having -c run the optimize stage as well, since some information needed for full checking doesn't exist in a useful form until then. On Wed, Jul 25, 2018 at 2:49 PM ToddAndMargo wrote: > Hi Simon, > > Maybe I am trying to get "-c" to do too many things. > > What I w

Re: -c bug to report

2018-07-25 Thread ToddAndMargo
Hi Simon, Maybe I am trying to get "-c" to do too many things. What I would like it to do is to check everything right up to but not actually run the program. -T On 07/25/2018 02:27 AM, Simon Proctor wrote: Problem is that's not a syntax error as such. Running with stage stats you can see wh

Re: -c bug to report

2018-07-25 Thread Simon Proctor
Problem is that's not a syntax error as such. Running with stage stats you can see where -c stop and where the error is thrown. (I'm sure someone with deeper VM understanding can explain is better). perl6 --stagestats -e 'sub foo($a, $b) { say "Hmm" };foo(1,2,"3")' Stage start : 0.000 Stag

-c bug to report

2018-07-25 Thread ToddAndMargo
Dear Developers, $ perl6 -v This is Rakudo version 2018.05 built on MoarVM version 2018.05 implementing Perl 6.c. `Perl6 -c xxx.pl6` passes if IsCurrentRevNewer ( $OldRev, $NewRev, $SubName, "no", "quiet" ) when the sub it calls only has three variables in it header, not five: sub I