summaryrefslogtreecommitdiff
path: root/tests/functional/r/regression_02/regression_5461.py
blob: 9344782c0260f17c347ca923da8b7237105891ac (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/pylint-dev/pylint/issues/5461
"""
var = [type for type in [] if type["id"]]