Skip to content

Commit

Permalink
stmt: todo
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Aug 14, 2024
1 parent 131bb56 commit d64d3b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/spec-mini.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,7 @@ x, y, x := 1, 2, 3 // illegal: x repeated on left side of
Short variable declarations may appear only inside functions. In some contexts such as the initializers for "[if]()", "[for]()", or "[switch]()" statements, they can be used to declare local temporary variables.


### Composite literals

#### Slice literals
### Slice literals

TODO

Expand Down Expand Up @@ -792,7 +790,7 @@ var a []any = [10, 3.14, 200] // []any
echo a
```

#### Map literals
### Map literals

TODO

Expand Down Expand Up @@ -821,3 +819,7 @@ echoS2f32 {"Monday": 1, "Sunday": 7}
var a map[string]any = {"Monday": 1, "Sunday": 7}
echo a
```

## Statements

TODO

0 comments on commit d64d3b9

Please sign in to comment.