blob: 39daf7b9bb5e2ab865610b493d25a879e02e1da9 (
plain)
1
2
3
4
5
6
|
"""Regression test for issue 5461
Crash on list comprehension with it used `type` as variable name
See: https://github.com/PyCQA/pylint/issues/5461
"""
var = [type for type in [] if type["id"]]
|