Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> let a = 2
- >>> case a:
- ... of 1: echo "one"
- stdin(2, 4) Error: not all cases are covered
- >>> case a:
- ... of 1: echo "one"
- ... of 2: echo "two"
- ... default: "def"
- ...
- stdin(3, 4) Error: not all cases are covered
- stdin(6, 9) Error: invalid indentation
- stdin(6, 9) Error: undeclared identifier: 'default'
- stdin(6, 9) Error: undeclared identifier: 'default'
Advertisement
Add Comment
Please, Sign In to add comment