aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-09-17 11:01:56 +0100
committergingerBill <bill@gingerbill.org>2022-09-17 11:01:56 +0100
commit99a1a102864689bd8904f10e1a7fe0f79363399f (patch)
tree7038c8efc79d8b7299b243fc7d76d75aa17fe2f9 /src/llvm_backend_expr.cpp
parent9640b493191e2ec0ff1338751a053a5ef559728d (diff)
Fixed #2044 Uninitialised constant struct member values can cause crash
Foo :: struct { x: i32, data: sa.Small_Array(10, i32), } defaultFoo :: Foo{ x = 1, // The 'data' value is not set! } fmt.println(defaultFoo.data) // caused the bug
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions