Remove switch in in favour of switch _ in

This commit is contained in:
gingerBill
2023-08-08 14:57:25 +01:00
parent 49ab935ae9
commit cd74cdfdaf
6 changed files with 13 additions and 10 deletions
+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")
}