Skip to content

Commit e1e0aa5

Browse files
authored
Fix comment on invoke function expansion (#4501)
1 parent 1df31cd commit e1e0aa5

File tree

1 file changed

+1
-1
lines changed
  • working/4271 - static enough metaprogramming

1 file changed

+1
-1
lines changed

working/4271 - static enough metaprogramming/proposal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ void bar<@konst T>(@konst T v) { }
781781
for (@konst final v in [1, '2', [3]]) {
782782
invoke(bar, [v], types: [typeOf(v)]);
783783
}
784-
// expands to: bar<int>(1); bar<String>('2'); bar<List<int>>(3);
784+
// expands to: bar<int>(1); bar<String>('2'); bar<List<int>>([3]);
785785
```
786786

787787
You might notice that `invoke` is a bit _wonky_: `f` is `@konst`, but neither

0 commit comments

Comments
 (0)