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

Unexpected NativeCall problem with nom/HEAD #104

Closed
jonathanstowe opened this issue Oct 7, 2017 · 2 comments
Closed

Unexpected NativeCall problem with nom/HEAD #104

jonathanstowe opened this issue Oct 7, 2017 · 2 comments

Comments

@jonathanstowe
Copy link
Member

This feels like it may be actually a problem with NativeCall but:

[jonathan@coriolanus DBIish]$ perl6 -Ilib t/34-pg-types.t
1..10
ok 1 - Connected
ok 2 - Clean
ok 3 - Table created
ok 4 - Insert Perl6 values
Too many positionals passed; expected 2 arguments but got 5
  in method PQprepare at /home/jonathan/devel/perl6/3rdparty-modules/DBIish/lib/.precomp/A50FF0EA0BAD1E5493800CB73FC398E3361B46BC.1507357743.5819/F2/F237953CC07B423EEFE1EC2BE7F5FFFA19E4201A line 1
  in method prepare at /home/jonathan/devel/perl6/3rdparty-modules/DBIish/lib/DBDish/Pg/Connection.pm6 (DBDish::Pg::Connection) line 31
  in block <unit> at t/34-pg-types.t line 44

# Looks like you planned 10 tests, but ran 4

The PQprepare does actually declare 5 arguments and I can't see anything obvious that would cause this in DBIish and I've tested a bunch of other modules that use NC and they seem to be fine so I'm stumped. The only thing that I can see that may have afflicted it is rakudo/rakudo@80d6b42 but that's only a wild guess and I can't see anything there that would obviously cause it.

@jonathanstowe
Copy link
Member Author

This should be fixed with rakudo/rakudo@f59b2887ad will close when I have confirmed.

@jonathanstowe
Copy link
Member Author

Also needed rakudo/rakudo@ba2d858 but all fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant