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
parallel dispatch with guillemot doesn't work in modules #1793
Comments
From @moritzWorks fine in mainline code: 18:26 <@moritz_> rakudo: say <a b c>».uc but # file Foo.pm: # and then on the command line: ./perl6 -e 'use Foo; f()' + plus a rather long backtrace. (Same for loading the module from another script file, the -e isn't |
From @jnthnOn Sat May 29 09:31:36 2010, moritz wrote:
Oh noes! Turns out this was just because we weren't setting the file Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzOn Sat Jun 05 18:06:22 2010, jnthn@jnthn.net wrote:
\o/
Now that's unfair, all the other submitters don't have to write their Cheers, |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in at least one of these files: t/spec/S12-methods/parallel-dispatch.t, t/spec/packages/ContainsUnicode.pm commit 9b5d136c93293e3dd9e66bc7395f1960ee26b229 [t/spec] test for RT #75434, guillemot not parsed in modules Inline Patchdiff --git a/t/spec/S12-methods/parallel-dispatch.t b/t/spec/S12-methods/parallel-dispatch.t
index 4948bd3..32ece93 100644
--- a/t/spec/S12-methods/parallel-dispatch.t
+++ b/t/spec/S12-methods/parallel-dispatch.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 38;
+plan 39;
# L<S12/"Parallel dispatch"/"Any of the method call forms may be turned into a hyperoperator">
# syn r14547
@@ -124,4 +124,12 @@ class Bar is Foo {
'3|6', '>>.<a>';
}
+{
+ BEGIN { @*INC.push: 't/spec/packages' };
+ use ContainsUnicode;
+ is uc-and-join('foo', 'bar'), 'FOO, BAR',
+ 'parallel dispatch with » works in modules too';
+
+}
+
# vim: ft=perl6
diff --git a/t/spec/packages/ContainsUnicode.pm b/t/spec/packages/ContainsUnicode.pm
new file mode 100644
index 0000000..1f3c25c
--- /dev/null
+++ b/t/spec/packages/ContainsUnicode.pm
@@ -0,0 +1,7 @@
+module ContainsUnicode {
+ sub uc-and-join(*@things, :$separator = ', ') is export {
+ @things».uc.join($separator)
+ }
+}
+
+# vim: ft=perl6 |
Migrated from rt.perl.org#75434 (status was 'resolved')
Searchable as RT75434$
The text was updated successfully, but these errors were encountered: