Commit Graph

3 Commits

Author SHA1 Message Date
David Wood
0a8cf67e61
Added note referencing issue which added error. 2018-09-07 00:37:44 +02:00
David Wood
8c92cbe90e
Moved let-chain warning/error to ast_validation and changed to unconditional error. 2018-09-02 10:54:28 +02:00
David Wood
2ce56c5ebf
Added warning/error for if-let-chain ambiguity.
With eRFC 2497, previously accepted ambigious syntax regarding use of
`&&` and `||` in if-let and while-let statements should now warn
or error depending on the edition.

This commit takes a naive approach to detecting ambigious use of `&&`
or `||` and will probably need fine tuned to handle all cases.
2018-08-31 16:13:42 +02:00