mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Restrict var statements to the top of functions
This commit is contained in:
1 parent
84f9d3a915
commit
cbe19f50e0
5 files changed
+36
-56
No files matched your search
@@ -11,6 +11,7 @@
|
||||
- Added a `use` keyword.
|
||||
- Added a `yield` keyword.
|
||||
- Made the `return` value mandatory; added `ok` literal.
|
||||
- Restricted `var` statements to the top of functions.
|
||||
- Changed func out-type from struct to bare type.
|
||||
- Renamed the implicit `in` variable to `args`.
|
||||
- Added `std/adler32`, `std/crc32` and `std/gzip`.
|
||||
|
||||
Reference in new issue
Block a user