Skip to content

Commit 94a89b7

Browse files
authored
Create ExcessivelySpacingFuncCalls.pq.md
1 parent 0073958 commit 94a89b7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Whitespace between function calls and the name are allowed. Including newlines.
2+
These are identical statements:
3+
4+
```ts
5+
= DoStuff( args )
6+
= DoStuff
7+
8+
( args )
9+
```
10+
Record lookups also allow whitespace
11+
12+
This is totally valid: ( Syntactically valid, not morally )
13+
14+
```ts
15+
let
16+
Func = () => [
17+
user = [ Name = "bob" ]
18+
]
19+
in
20+
Func
21+
22+
23+
(
24+
25+
)[
26+
user
27+
28+
29+
30+
]
31+
```

0 commit comments

Comments
 (0)