mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Introduce "array[N] T" and "slice T" type syntax
This commit is contained in:
1 parent
2b91e7861c
commit
d33db6dae0
15 files changed
+83
-68
No files matched your search
@@ -67,8 +67,8 @@ func TestString(tt *testing.T) {
|
||||
"x as T[i..j]",
|
||||
"x as pkg.T",
|
||||
"x as ptr T",
|
||||
"x as [4] T",
|
||||
"x as [8 + (2 * N)] ptr [4] ptr pkg.T[i..j]",
|
||||
"x as array[4] T",
|
||||
"x as array[8 + (2 * N)] ptr array[4] ptr pkg.T[i..j]",
|
||||
}
|
||||
|
||||
tm := &t.Map{}
|
||||
|
||||
Reference in new issue
Block a user