pylint-bot / test

0 stars 0 forks source link

Move the method type determination logic from visit_assign to one of the node classes. #162

Closed pylint-bot closed 8 years ago

pylint-bot commented 8 years ago

Originally reported by: BitBucket: ceridwenv, GitHub: @ceridwen?


visit_assign in the rebuilder is currently using the stdlib ast node types to assign the type attribute on astroid function nodes. This should be internalized to one of the node classes rather than being an external assignment.


pylint-bot commented 8 years ago

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?):


Move the determination of a function type from rebuilder to Function.type.

Closes issue #162.

pylint-bot commented 8 years ago

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?):


Move the determination of a function type from rebuilder to Function.type.

Closes issue #162.