We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df31cd commit e1e0aa5Copy full SHA for e1e0aa5
working/4271 - static enough metaprogramming/proposal.md
@@ -781,7 +781,7 @@ void bar<@konst T>(@konst T v) { }
781
for (@konst final v in [1, '2', [3]]) {
782
invoke(bar, [v], types: [typeOf(v)]);
783
}
784
-// expands to: bar<int>(1); bar<String>('2'); bar<List<int>>(3);
+// expands to: bar<int>(1); bar<String>('2'); bar<List<int>>([3]);
785
```
786
787
You might notice that `invoke` is a bit _wonky_: `f` is `@konst`, but neither
0 commit comments