Phil Turnbull d0bdfe5ce3
Handle non-trivial nil closures
`reduce_nil_closure` mixed together a) 'is this a nil closure?' and b) 'can it
be reduced to a simple expression?'. Split the logic into two functions so we
can still generate a basic warning when the closure can't be simplified.
2018-04-15 13:01:09 +02:00
..
2018-03-16 10:54:49 +01:00
2018-04-03 06:22:42 +02:00
2018-03-16 10:54:49 +01:00
2018-03-16 10:54:49 +01:00
2018-03-16 10:54:49 +01:00