diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
| commit | 2bb2ff871fa1761478442bec5f6a32c9428360a1 (patch) | |
| tree | 9b73df7a0c50c02353ae7bca7c2cd54788ef0077 /test/lang.tm | |
| parent | 59845e610f2c90474f34079d27b5f1e07071ded4 (diff) | |
Change method calls to use `foo.baz()` instead of `foo:baz()`
Diffstat (limited to 'test/lang.tm')
| -rw-r--r-- | test/lang.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lang.tm b/test/lang.tm index dba096d6..6d0a94ea 100644 --- a/test/lang.tm +++ b/test/lang.tm @@ -1,7 +1,7 @@ lang HTML: HEADER := $HTML"<!DOCTYPE HTML>" convert(t:Text->HTML): - t = t:translate({ + t = t.translate({ "&"="&", "<"="<", ">"=">", @@ -43,7 +43,7 @@ func main(): >> $HTML"$(Int8(3))" = $HTML"3" - >> html:paragraph() + >> html.paragraph() = $HTML"<p>Hello I <3 hax!</p>" >> Text(html) |
