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

Adding TrigBase enum to setting/Any-Num.pm breaks Rakudo #1320

Closed
p6rt opened this issue Sep 25, 2009 · 4 comments
Closed

Adding TrigBase enum to setting/Any-Num.pm breaks Rakudo #1320

p6rt opened this issue Sep 25, 2009 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 25, 2009

Migrated from rt.perl.org#69382 (status was 'rejected')

Searchable as RT69382$

@p6rt
Copy link
Author

p6rt commented Sep 25, 2009

From @colomon

Using Rakudo build 729722a9c0b260032ecc914f4cd6495dc22b422c and its
default Parrot on OS X, I find that adding the line

enum TrigBase <Radians Degrees Gradians Circles>;

to src/setting/Any-Num.pm generates a Rakudo which compiles but is
completely non-functional, failing every test on "make test" with an
error message something like this​:

/Users/colomon/tools/rakudo/parrot_install/bin/parrot perl6.pbc
--target=pir --output=Test.pir Test.pm
Null PMC access in find_method()
current instr.​: 'perl6;List;list' pc 208509
(src/gen_setting.pir​:24614) (src/gen_setting.pm​:1538)
called from Sub '!create_anon_enum' pc 21857 (src/builtins/guts.pir​:1119)
called from Sub '!create_enum' pc 21953 (src/builtins/guts.pir​:1166)
called from Sub '' pc 132309 (src/gen_setting.pir​:364) (src/gen_setting.pm​:363)
called from Sub '_block718' pc 131471 (src/gen_setting.pir​:5)
make​: *** [Test.pir] Error 1

--
Solomon Foster​: colomon@​gmail.com
HarmonyWare, Inc​: http://www.harmonyware.com

@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

From @coke

On Fri Sep 25 05​:02​:17 2009, Solomon wrote​:

Using Rakudo build 729722a9c0b260032ecc914f4cd6495dc22b422c and its
default Parrot on OS X, I find that adding the line

enum TrigBase <Radians Degrees Gradians Circles>;

to src/setting/Any-Num.pm generates a Rakudo which compiles but is
completely non-functional, failing every test on "make test" with an
error message something like this​:

/Users/colomon/tools/rakudo/parrot_install/bin/parrot perl6.pbc
--target=pir --output=Test.pir Test.pm
Null PMC access in find_method()
current instr.​: 'perl6;List;list' pc 208509
(src/gen_setting.pir​:24614) (src/gen_setting.pm​:1538)
called from Sub '!create_anon_enum' pc 21857
(src/builtins/guts.pir​:1119)
called from Sub '!create_enum' pc 21953 (src/builtins/guts.pir​:1166)
called from Sub '' pc 132309 (src/gen_setting.pir​:364)
(src/gen_setting.pm​:363)
called from Sub '_block718' pc 131471 (src/gen_setting.pir​:5)
make​: *** [Test.pir] Error 1

The specified file is no longer part of the repository, rejecting
ticket.

If you can duplicate this behavior with a recent vintage rakudo, please
reopen this ticket.

--
Will "Coke" Coleda

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

From @coke

On Fri Sep 25 05​:02​:17 2009, Solomon wrote​:

Using Rakudo build 729722a9c0b260032ecc914f4cd6495dc22b422c and its
default Parrot on OS X, I find that adding the line

enum TrigBase <Radians Degrees Gradians Circles>;

to src/setting/Any-Num.pm generates a Rakudo which compiles but is
completely non-functional, failing every test on "make test" with an
error message something like this​:

/Users/colomon/tools/rakudo/parrot_install/bin/parrot perl6.pbc
--target=pir --output=Test.pir Test.pm
Null PMC access in find_method()
current instr.​: 'perl6;List;list' pc 208509
(src/gen_setting.pir​:24614) (src/gen_setting.pm​:1538)
called from Sub '!create_anon_enum' pc 21857
(src/builtins/guts.pir​:1119)
called from Sub '!create_enum' pc 21953 (src/builtins/guts.pir​:1166)
called from Sub '' pc 132309 (src/gen_setting.pir​:364)
(src/gen_setting.pm​:363)
called from Sub '_block718' pc 131471 (src/gen_setting.pir​:5)
make​: *** [Test.pir] Error 1

The specified file is no longer part of the repository, rejecting
ticket.

If you can duplicate this behavior with a recent vintage rakudo, please
reopen this ticket.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

@coke - Status changed from 'new' to 'rejected'

@p6rt p6rt closed this as completed Oct 7, 2011
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant