blob: dd5897b87df9543d66f5c6592728bdb62cc838bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Test invalid function calls.
---
// Error: 7-8 expected expression, found colon
#args(:)
// Error: 10-12 expected expression, found end of block comment
#args(a:1*/)
// Error: 8 expected comma
#args(1 2)
// Error: 7-8 expected identifier
// Error: 9 expected expression
#args(1:)
// Error: 7-8 expected identifier
#args(1:2)
// Error: 7-10 expected identifier
{args((x):1)}
---
#let x = "string"
// Error: 1-3 expected function, found string
#x()
// Error: 2:1 expected closing bracket
#args[`a]`
---
// Error: 7 expected closing paren
{args(}
---
// Error: 2:1 expected quote
// Error: 2:1 expected closing paren
#args("]
|