Remove switch in in favour of switch _ in

This commit is contained in:
gingerBill committed 2023-08-08 14:57:25 +01:00
1 parent 49ab935ae9
commit cd74cdfdaf
6 files changed
+13 -10

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ clone_node :: proc(node: ^Node) -> ^Node {
align = elem.align
}
#partial switch in node.derived {
#partial switch _ in node.derived {
case ^Package, ^File:
panic("Cannot clone this node type")
}