Switch type argument syntax (#1940)

This changes type argument syntax to "standard" style, and away from turbofish.

The motivation here is that turbofish-style type arguments are hard to read, and developers who are not already deeply knowledgeable about Pkl might struggle to understand such code.
In most languages, the grammar for "method call with type args" don't introduce any additional symbols between the identifier and the type argument list (e.g. C++, TypeScript, C#, Scala, Go).
This commit is contained in:
Daniel Chao authored and GitHub committed 2026-11-03 05:09:40 -08:00
1 parent 6ad50eb589
commit a9b7fe3a33
96 files changed
+1448 -376

No files matched your search

-1
View File
@@ -305,7 +305,6 @@ typealias TerminalNodeType =
| "assign"
| "at"
| "colon"
| "dcolon"
| "comma"
| "dot"
| "gt"