func test(): var a = 1 match 2: a + 2: print("not allowed")