Add ex066, the first comptime explanation
This commit is contained in:
parent
5bd5e1f25c
commit
e780328b25
3 changed files with 85 additions and 0 deletions
6
patches/patches/066_comptime.patch
Normal file
6
patches/patches/066_comptime.patch
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
65,66c65,66
|
||||
< var var_int = 12345;
|
||||
< var var_float = 987.654;
|
||||
---
|
||||
> var var_int: u32 = 12345;
|
||||
> var var_float: f32 = 987.654;
|
||||
Loading…
Add table
Add a link
Reference in a new issue