mesour-intellij-plugins / latte-pro-issues

2 stars 0 forks source link

Inspect code... throws StackOverflowError #55

Closed mabar closed 2 years ago

mabar commented 2 years ago

Running Inspect code... on Latte files in https://github.com/orisai/cmf throws following exception. Specifically it always reports on this file https://github.com/orisai/cmf/blob/707e02423e68a74302eb0fd0aea28939a5a1c451/src/UI/Form/Latte/FormInputs.latte

** Environment:

exception.txt

mesour commented 2 years ago

@mabar it was because {do $parent = $parent->getFoo()}. I don't know, how to resolve this issue now, but at least I modify it for now so that the exception does not throw. I will create new issue as enhancement for this case.

mabar commented 2 years ago

It works now, thanks