Skip to content

Commit 6dea545

Browse files
committed
Mention the subtype of QAST::Regex during --target=ast.
1 parent 89491f5 commit 6dea545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QAST/Regex.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class QAST::Regex is QAST::Node {
2525
method max(*@value) { $!max := @value[0] if @value; $!max }
2626

2727
method dump_extra_node_info() {
28-
":rxtype($!rxtype)"
28+
":rxtype($!rxtype)" ~ (!nqp::isnull_s($!subtype) ?? " :subtype($!subtype)" !! "")
2929
}
3030
}
3131

0 commit comments

Comments
 (0)