-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorctg-bugIssue is a bugIssue is a bug
Description
Description
We have some compilation errors while generating tests for user's code when we need to generate our hardcoded util methods (like deepEquals, etc) that use classes with simple name collisions (like kotlin.Array
and java.lang.reflect.Array
). To fix this problem, we need to always use a fully qualified name for all classes used in util methods (except classes from the java.lang
package).
To Reproduce
Steps to reproduce the behavior:
The easiest way to reproduce is by generating Kotlin
test that has to use both arraysDeepEquals
and createArray
util methods.
Expected behavior
Correct test without compilation errors.
Actual behavior
Compilation errors because of simple name collisions (kotlin.Array
and java.lang.Array
).
Metadata
Metadata
Assignees
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorctg-bugIssue is a bugIssue is a bug
Type
Projects
Status
Done