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

error message when trying to use NYI textual macros #4402

Open
p6rt opened this issue Jul 14, 2015 · 5 comments
Open

error message when trying to use NYI textual macros #4402

p6rt opened this issue Jul 14, 2015 · 5 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Jul 14, 2015

Migrated from rt.perl.org#125615 (status was 'stalled')

Searchable as RT125615$

@p6rt
Copy link
Author

p6rt commented Jul 14, 2015

From @AlexDaniel

Code​:
macro FOO { 'say 1' }; FOO;

Result​:
===SORRY!===
Too few positionals passed; expected 3 arguments but got 2

It should say that it is not implemented. Alternatively, you can implement
it...

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

From @coke

On Tue Jul 14 14​:33​:43 2015, alex.jakimenko@​gmail.com wrote​:

Code​:
macro FOO { 'say 1' }; FOO;

Result​:
===SORRY!===
Too few positionals passed; expected 3 arguments but got 2

It should say that it is not implemented. Alternatively, you can implement
it...

No real change, though now you have to declare it experimental.

16​:23 < [Coke]> m​: use experimental :macros; macro FOO { 'say 1' }; FOO;
16​:23 < camelia> rakudo-moar ce5dc0​: OUTPUT«===SORRY!===␤Too few positionals
  passed; expected 3 arguments but got 2␤»
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

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

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

@coke - Status changed from 'open' to 'stalled'

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
@JJ
Copy link

JJ commented Dec 31, 2020

Current error:

Error while compiling <tmp>␤Type check failed in macro application; expected AST but got Str ("say 1")

Which looks totally fine. proposed for closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

2 participants