-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not parse type signature" in Kotlin test classes #645
Comments
Thanks, I'm traveling right now, but I'll try to get to this in the next few days. |
Wait, you mean to tell me that I'll have to trace through to see where the paren is disallowed by the current parser... |
Yes, it's valid name for test methods. |
This is fixed in the git main version, please test it and let me know if there are any more issues. I have several bugs I need to fix and close, but once that is done, this will be in the next release. Thank you for the report! |
I checked the git main version. Now it works correctly. Thank you, looking forward to the next release. |
Thank you for testing! |
Hello,
When parsing test code, an error occurs if the test method name contains parentheses, and the body contains curly brackets. Because of this, ClassInfo.isExternalClass == true and dependencies are not parsed. There is an error message in the logs "Invalid classfile: Could not parse type signature". Logs and an example project in the attached files.
class_graph_logs.txt
TestClassGraph.zip
The text was updated successfully, but these errors were encountered: