-
-
Save lizmat/0dfb6aca8962742ea6b975193c652d0f to your computer and use it in GitHub Desktop.
Constant fail?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6.*; | |
my $ast := RakuAST::Statement::Expression.new( | |
expression => RakuAST::VarDeclaration::Constant.new( | |
name => "foo", | |
initializer => RakuAST::StrLiteral.new("bar") | |
) | |
); | |
dd $ast.EVAL; | |
# ForeignCode <anon> = The 'ForeignCode' class is a Rakudo-specific implementation detail and has no serviceable parts inside |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment