Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings are ignored in the REPL in Rakudo #3543

Closed
p6rt opened this issue Oct 6, 2014 · 8 comments
Closed

Bindings are ignored in the REPL in Rakudo #3543

p6rt opened this issue Oct 6, 2014 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Oct 6, 2014

Migrated from rt.perl.org#122914 (status was 'resolved')

Searchable as RT122914$

@p6rt
Copy link
Author

p6rt commented Oct 21, 2012

From @cognominal

Some mistyping gave me a segfault. That happens only on the perl6 shell.

$ perl6
  > my \a = 2, 3; say a.WHAT;
  Parcel()
  > my $a = 2, 3; say a.WHAT
  my $a = 2, 3; say a.WHAT
  Segmentation fault​: 11
  $ uname -a
Darwin Stephanes-MacBook-Air.local 12.0.0 Darwin Kernel Version
12.0.0​: Sun Jun 24 23​:00​:16 PDT 2012;
root​:xnu-2050.7.9~1/RELEASE_X86_64 x86_64

--
cognominal stef

@p6rt
Copy link
Author

p6rt commented Oct 6, 2014

From @usev6

$ perl6-m

my $x = 'Just Another'; my $y := $x; say $y;
Just Another
say $y;
(Mu)

Looks like bindings are ignored in the REPL for subsequent lines.

@p6rt
Copy link
Author

p6rt commented Oct 7, 2014

From @usev6

This looks related​:

$ perl6-m

my \term = 42; say term.WHAT;
(Int)
say term.WHAT;
Method 'gist' not found for invocant of class 'NQPMu'

@p6rt
Copy link
Author

p6rt commented Feb 9, 2015

From @Mouq

No longer segfaults​:

my \a = 2, 3; say a.WHAT;
(Parcel)
my $a = 2, 3; say a.WHAT
WARNINGS​:
Useless use of "," in expression "my $a = 2, 3" in sink context (line 1)
Method 'gist' not found for invocant of class 'NQPMu'

...but still failts, which appears to be a duplicate issue to #​122914. I wouldn't consider this ticket resolved, however, so I'll simply merge the tickets.

On Sat Oct 20 23​:29​:28 2012, cognominal wrote​:

Some mistyping gave me a segfault. That happens only on the perl6 shell.

$ perl6

my \a = 2, 3; say a.WHAT;
Parcel()
my $a = 2, 3; say a.WHAT
my $a = 2, 3; say a.WHAT
Segmentation fault​: 11
$ uname -a
Darwin Stephanes-MacBook-Air.local 12.0.0 Darwin Kernel Version
12.0.0​: Sun Jun 24 23​:00​:16 PDT 2012;
root​:xnu-2050.7.9~1/RELEASE_X86_64 x86_64

@p6rt
Copy link
Author

p6rt commented Feb 9, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 20, 2015

From @jnthn

On Mon Oct 06 00​:20​:50 2014, bartolin@​gmx.de wrote​:

$ perl6-m

my $x = 'Just Another'; my $y := $x; say $y;
Just Another
say $y;
(Mu)

Looks like bindings are ignored in the REPL for subsequent lines.

Fixed now, and added tests to t/02-rakudo/repl.t.

@p6rt
Copy link
Author

p6rt commented Apr 20, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 20, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant