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

RakuAST: Type smilies not entirely supported #5565

Open
ab5tract opened this issue May 12, 2024 · 0 comments
Open

RakuAST: Type smilies not entirely supported #5565

ab5tract opened this issue May 12, 2024 · 0 comments
Labels
RAKUDO_RAKUAST=1 Related to parsing Raku code with RAKUDO_RAKUAST=1 set

Comments

@ab5tract
Copy link
Collaborator

The Problem

Type smilies are not always being respected:

> r 'my Positional:D[Int] $x; dd :$x'
:x(Positional[Int])

Expected Behavior

The above should behave like:

> r 'my Int:D $x; dd :$x'
Variable definition of type Int:D needs to be given an initializer

Environment

  • Compiler version (rakudo -v or raku -v): v2024.04-82-gecd2dd469

Notes

See #1412

@ab5tract ab5tract added the RAKUDO_RAKUAST=1 Related to parsing Raku code with RAKUDO_RAKUAST=1 set label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RAKUDO_RAKUAST=1 Related to parsing Raku code with RAKUDO_RAKUAST=1 set
Projects
None yet
Development

No branches or pull requests

1 participant