Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjermakov committed Nov 25, 2024
1 parent 72c9ab4 commit 8323e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/features.no
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ let main = fn() {
let Vec2(x) = vec

// destructuring alias
let Vec2(b @ x) = vec
let Vec2(x: b @ _) = vec

// match
let b = match 4 {
1 { "one" }
n if n % 2 == 0 {
match (n > 5) {
match n > 5 {
True { "good" }
_ { "not good" }
}
Expand Down

0 comments on commit 8323e9a

Please sign in to comment.