diff --git a/src/Squaak/Actions.pm b/src/Squaak/Actions.pm index 9e6deae..fc11542 100644 --- a/src/Squaak/Actions.pm +++ b/src/Squaak/Actions.pm @@ -298,8 +298,12 @@ method identifier($/) { :node($/) ); } -method term:sym($/) { make $.ast; } -method term:sym($/) { make $.ast; } +method term:sym($/) { + make PAST::Val.new(:value($.ast), :returns); +} +method term:sym($/) { + make PAST::Val.new(:value($.ast), :returns); +} method quote:sym<'>($/) { make $.ast; } method quote:sym<">($/) { make $.ast; }