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
placement of use statement #5789
Comments
From @MARTIMMHi, in rakudo 2016.10-249-gb84158c built on MoarVM version When a use statement was placed as the first one, the class was not ===SORRY!=== Error while compiling When I move the statement one line below another use statement the error This is a situation which I've not seen anywhere else and I do not know Anyways, the statement is placed somewhere else and the project can Regards, |
From @cokeOn Tue, 08 Nov 2016 04:42:32 -0800, mt1957@gmail.com wrote:
Can you provide a code sample showing the issue? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @MARTIMMHi Will, It is the MongoDB distribution in the file t/Test-support.pm6. It starts use v6.c; use MongoDB::Client; and throws an error at line 119; 119: method get-connection ( Int :$server = 1 --> MongoDB::Client ) { Changing the top into; use v6.c; use MongoDB::Collection; clears the error. There are many modules involved so it is difficult to Regards, |
From @MARTIMM |
From @MARTIMM |
From @MARTIMM |
From @MARTIMM |
From @MARTIMMuse v6.c; use Test; #------------------------------------------------------------------------------- my MongoDB::Test-support $ts .= new; my Int $p1 = $ts.server-control.get-port-number('s1'); #------------------------------------------------------------------------------- my Str $server-name = 'non-existent-server.with-unknown.domain:65535'; $server = $client.select-server(:3check-cycles); $client.cleanup; #------------------------------------------------------------------------------- $client .= new(:uri("mongodb://localhost:65535")); $client.cleanup; #------------------------------------------------------------------------------- $client .= new(:uri("mongodb://:$p1")); # todo 'Seems to finish processing too soon', 2; $client.cleanup; #------------------------------------------------------------------------------- $client .= new(:uri("mongodb://:$p1,:$p2")); # If server has port from $p1 than the other must have status rejected # is $client.nbr-servers, 2, 'Two servers found'; $client.cleanup; #------------------------------------------------------------------------------- |
Migrated from rt.perl.org#130050 (status was 'open')
Searchable as RT130050$
The text was updated successfully, but these errors were encountered: