HomePhabricator

Fix type/subclass check limit
0408a71186e3Unpublished

Authored by Lucas_Werkmeister_WMDE on May 10 2017, 2:34 PM.

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Fix type/subclass check limit

Instead of counting only recursion depth, and effectively decrementing
the counter on every return, count total invocations of the method and
don’t decrement the counter in one check operation.

Since this results in a higher count for classes with more than one
superclass, slightly increase the limit.

Change-Id: I39429d37734f25748f8b7e194246613592edb241

Details