2018-07-05 | Paul Boddie | file changeset files shortlog | Introduced the detection of a particular error before its effects cause a less helpful error later in the deduction process (involving the absence of accessor types). |
paul@2 | 1 | def f(l, y): |
paul@2 | 2 | return [x for x in l if x > y] |
paul@2 | 3 | |
paul@2 | 4 | result = f([1, 2, 3], 2) |