Skip to content

Commit

Permalink
add a few final todos
Browse files Browse the repository at this point in the history
  • Loading branch information
keidax committed Jan 26, 2025
1 parent c3f2f89 commit 57007f3
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion test/corpus/todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ pseudo-methods with macro nodes
===============================
a.is_a?({{type}})
---

(expressions)

============================================
Expand All @@ -115,6 +116,7 @@ macro variables in escaped macro expressions
\{% end %}
{% end %}
---

(expressions)

===================================
Expand Down Expand Up @@ -267,7 +269,6 @@ filters1.try(&.pos[name]?)
(ERROR
(char_escape_sequence))))


=========================
trailing if inside interp
=========================
Expand Down Expand Up @@ -358,9 +359,47 @@ uppercase mathematical letters
๐ˆ๐˜ผ
๐™•๐˜ผ๐˜ผ๐™•
---

(expressions
(comment)
(comment)
(comment)
(identifier)
(identifier))

=================================
percent literals in macro content
=================================
macro foo
%q( begin )
end
---

(expressions
(macro_def
name: (identifier)
body: (expressions
(macro_content)
(macro_content)
(macro_content)
(macro_content))
(MISSING "end")))

=========================
heredocs in macro content
=========================
macro foo
<<-TEXT
begin
TEXT
end
---
(expressions
(macro_def
name: (identifier)
body: (expressions
(macro_content)
(macro_content)
(macro_content)
(macro_content))
(MISSING "end")))

0 comments on commit 57007f3

Please sign in to comment.