You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importjava.util.regex.Pattern.CASE_INSENSITIVEasiclassA {
val f = arrayOf(i)
}
Type validation on identifiers compares the name of JavaType.Variable on J.Identifier#fieldType to ensure the names match. Type aliases fail the comparison and cause a test failure.
We can track the scope of a variable through a stack so that the identifiers are compared to the applicable field type when it exists. The changes will help to reveal when types are not correctly updated, and allow us to apply the correct validation on aliases.
The text was updated successfully, but these errors were encountered:
Type validation on identifiers compares the name of
JavaType.Variable
onJ.Identifier#fieldType
to ensure the names match. Type aliases fail the comparison and cause a test failure.We can track the scope of a variable through a stack so that the identifiers are compared to the applicable field type when it exists. The changes will help to reveal when types are not correctly updated, and allow us to apply the correct validation on aliases.
The text was updated successfully, but these errors were encountered: