Change behaviour of switch v in &value to make v have by-reference semantics

This commit is contained in:
gingerBill
2020-03-24 14:29:54 +00:00
parent dfc63dcb60
commit 5cbb266ef5
5 changed files with 84 additions and 58 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import "intrinsics"
// implemented within the compiler rather than in this "preload" file
// NOTE(bill): This must match the compiler's
Calling_Convention :: enum {
Calling_Convention :: enum u8 {
Invalid = 0,
Odin = 1,
Contextless = 2,