Use const & for Array<AstNode *> parameters

This commit is contained in:
gingerBill committed 2018-06-03 10:30:31 +01:00
1 parent 6202fb8373
commit 12b870ba66
13 files changed
+41 -48

No files matched your search

+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();