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

This commit is contained in:
gingerBill committed 2020-03-24 14:29:54 +00:00
1 parent dfc63dcb60
commit 5cbb266ef5
5 files changed
+84 -58

No files matched your search

+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,