Use const & for Array<AstNode *> parameters

This commit is contained in:
gingerBill
2018-06-03 10:30:31 +01:00
parent 6202fb8373
commit 12b870ba66
13 changed files with 41 additions and 48 deletions
+1 -8
View File
@@ -18,6 +18,7 @@ import "core:c"
when os.OS == "windows" {
import "core:atomics"
import "core:sync"
import "core:thread"
import "core:sys/win32"
}
@@ -737,14 +738,6 @@ deprecated_attribute :: proc() {
// foo_v1(1);
}
A :: struct {x, y, z: int};
B :: struct {x, y, z: int};
C :: struct {
using a: A,
b: B,
}
main :: proc() {
when true {
general_stuff();