File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def runtests():
3333 # Assignment expressions can now be used unparenthesized within set literals and set comprehensions, as well as in sequence indexes (but not slices).
3434 d1 = do [local [(x := 17 )],
3535 print (x ),
36- x := 23 ,
36+ ( x := 23 ) ,
3737 x ]
3838 test [d1 == 23 ]
3939
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def testletdestructuring(testdata):
346346 testletdestructuring (testdata )
347347
348348 # haskelly let-where
349- testdata = q [let [y * x , where [x := 21 , y := 2 ]]] # noqa: F821
349+ testdata = q [let [y * x , where [( x := 21 ), ( y := 2 ) ]]] # noqa: F821
350350 testletdestructuring (testdata )
351351 testdata = q [let [y * x , where [x << 21 , y << 2 ]]] # noqa: F821
352352 testletdestructuring (testdata )
You can’t perform that action at this time.
0 commit comments