Add ex 50 'no values' (help further address #25)
This commit is contained in:
parent
2d205d9645
commit
95bdff5bfd
3 changed files with 102 additions and 1 deletions
14
patches/patches/50_no_value.patch
Normal file
14
patches/patches/50_no_value.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
68c68
|
||||
< var first_line1: *const [16]u8 = ???;
|
||||
---
|
||||
> var first_line1: *const [16]u8 = undefined;
|
||||
71c71
|
||||
< var first_line2: Err!*const [21]u8 = ???;
|
||||
---
|
||||
> var first_line2: Err!*const [21]u8 = Err.Cthulhu;
|
||||
79,80c79,80
|
||||
< fn printSecondLine() ??? {
|
||||
< var second_line2: ?*const [18]u8 = ???;
|
||||
---
|
||||
> fn printSecondLine() void {
|
||||
> var second_line2: ?*const [18]u8 = null;
|
||||
Loading…
Add table
Add a link
Reference in a new issue