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

LTM does not seem to apply within metaoperators, or does not take new operators in account. #4613

Open
p6rt opened this issue Oct 1, 2015 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 1, 2015

Migrated from rt.perl.org#126238 (status was 'open')

Searchable as RT126238$

@p6rt
Copy link
Author

p6rt commented Oct 1, 2015

From @cognominal

LTM does not seem to apply within metaoperators, or does not take new operators in account.
Discussion http://irclog.perlgeek.de/perl6/2015-10-01#i_11304291

cognominal m​: my token infix​:sym<--\>> { "$^a -> $^b\n" }; [] 'a' X[-->] <b c>
camelia rakudo-moar 92be57​: OUTPUT«5===SORRY!5=== Error while compiling /tmp/XLcJTzbXjy␤Prefix -- requires an argument, but no valid term found␤a/XLcJTzbXjy​:1␤------> 3m<--\>> { "$^a -> $^b\n" }; [
] 'a' X[--7⏏5>] <b c>␤ expecting any of​:␤ prefix␤»
moritz aka "no" :-)
  m​: sub arrow { "$^a -> $^b\n" }; [] 'a' X[&arrow] <b c>
camelia rakudo-moar 92be57​: ( no output )
cognominal m​: sub arrow { "$^a -> $^b\n" }; say [
] 'a' X[&arrow] <b c>
camelia rakudo-moar 92be57​: OUTPUT«a -> b␤a -> c␤␤»
lichtkind moritz​: something like problem-solver-tutorial ? so we have still ame spaces for other tuts
lizmat m​: my token infix​:sym«-->» { "$^a -> $^b\n" }; [] 'a' X[-->] <b c>
camelia rakudo-moar 92be57​: OUTPUT«5===SORRY!5=== Error while compiling /tmp/geTg5LpEb8␤Prefix -- requires an argument, but no valid term found␤a/geTg5LpEb8​:1␤------> 3ym«-->» { "$^a -> $^b\n" }; [
] 'a' X[--7⏏5>] <b c>␤ expecting any of​:␤ prefix␤»
lizmat cognominal​: feels like a rakudobuggable thing to me

@p6rt
Copy link
Author

p6rt commented Aug 23, 2016

From @coke

On Thu Oct 01 09​:21​:34 2015, cognominal wrote​:

LTM does not seem to apply within metaoperators, or does not take new
operators in account.
Discussion http://irclog.perlgeek.de/perl6/2015-10-01#i_11304291

cognominal m​: my token infix​:sym<--\>> { "$^a -> $^b\n" }; []
'a' X[-->] <b c>
camelia rakudo-moar 92be57​: OUTPUT«5===SORRY!5=== Error while
compiling /tmp/XLcJTzbXjy␤Prefix -- requires an argument, but no valid
term found␤a/XLcJTzbXjy​:1␤------> 3m<--\>> { "$^a -> $^b\n" }; [
] 'a'
X[--7⏏5>] <b c>␤ expecting any of​:␤ prefix␤»
moritz aka "no" :-)
m​: sub arrow { "$^a -> $^b\n" }; [] 'a' X[&arrow] <b c>
camelia rakudo-moar 92be57​: ( no output )
cognominal m​: sub arrow { "$^a -> $^b\n" }; say [
] 'a'
X[&arrow] <b c>
camelia rakudo-moar 92be57​: OUTPUT«a -> b␤a -> c␤␤»
lichtkind moritz​: something like problem-solver-tutorial ? so we
have still ame spaces for other tuts
lizmat m​: my token infix​:sym«-->» { "$^a -> $^b\n" }; [] 'a' X[-->]
<b c>
camelia rakudo-moar 92be57​: OUTPUT«5===SORRY!5=== Error while
compiling /tmp/geTg5LpEb8␤Prefix -- requires an argument, but no valid
term found␤a/geTg5LpEb8​:1␤------> 3ym«-->» { "$^a -> $^b\n" }; [
] 'a'
X[--7⏏5>] <b c>␤ expecting any of​:␤ prefix␤»
lizmat cognominal​: feels like a rakudobuggable thing to me

FYI, same error with​:

18​:30 < [Coke]> m​: sub infix​:sym<--\>> { "$^a -> $^b\n" }; [] 'a' X[-->] <b c>
  # RT #​126238
18​:30 < synopsebot6> Link​:
  https://rt-archive.perl.org/perl6//Public/Bug/Display.html?id=126238
18​:30 <+camelia> rakudo-moar 998e2b​: OUTPUT«===SORRY!=== Error while compiling
  <tmp>␤Prefix -- requires an argument, but no valid term
  found␤at <tmp>​:1␤------> m<--\>> { "$^a -> $^b\n" }; [
] 'a'
  X[--⏏>] <b c> # RT #​126238␤ expecting any of​:␤
  prefix␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 23, 2016

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

@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