-
Notifications
You must be signed in to change notification settings - Fork 24
Switch to a new ETS model #269
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
Conversation
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/ApplicationGraph.kt
Outdated
Show resolved
Hide resolved
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/ApplicationGraph.kt
Outdated
Show resolved
Hide resolved
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/KnownType.kt
Outdated
Show resolved
Hide resolved
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/KnownType.kt
Outdated
Show resolved
Hide resolved
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/dto/EtsValueToDto.kt
Outdated
Show resolved
Hide resolved
usvm-ts/src/main/kotlin/org/usvm/machine/expr/TsExprResolver.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/graph/EtsApplicationGraph.kt
Fixed
Show fixed
Hide fixed
usvm-ts-dataflow/src/main/kotlin/org/usvm/dataflow/ts/infer/dto/EtsValueToDto.kt
Fixed
Show fixed
Hide fixed
usvm-ts-dataflow/src/test/kotlin/org/usvm/dataflow/ts/test/EtsTypeInferenceTest.kt
Dismissed
Show dismissed
Hide dismissed
usvm-ts-dataflow/src/test/kotlin/org/usvm/dataflow/ts/test/EtsTypeInferenceTest.kt
Dismissed
Show dismissed
Hide dismissed
usvm-ts-dataflow/src/test/kotlin/org/usvm/dataflow/ts/test/utils/TypeInferenceStatistics.kt
Dismissed
Show dismissed
Hide dismissed
usvm-ts-dataflow/src/test/kotlin/org/usvm/dataflow/ts/test/utils/TypeInferenceStatistics.kt
Dismissed
Show dismissed
Hide dismissed
@@ -601,7 +608,7 @@ | |||
|
|||
// TODO hack because of an issue with signatures | |||
private val compareByMethodNameAndEnclosingClass = { fst: EtsMethod, snd: EtsMethod -> | |||
fst.name === snd.name && fst.enclosingClass.name === snd.enclosingClass.name | |||
fst.name === snd.name && fst.signature.enclosingClass.name === snd.signature.enclosingClass.name |
Check warning
Code scanning / detekt
Avoid using referential equality and prefer to use referential equality checks instead. Warning test
@@ -601,7 +608,7 @@ | |||
|
|||
// TODO hack because of an issue with signatures | |||
private val compareByMethodNameAndEnclosingClass = { fst: EtsMethod, snd: EtsMethod -> | |||
fst.name === snd.name && fst.enclosingClass.name === snd.enclosingClass.name | |||
fst.name === snd.name && fst.signature.enclosingClass.name === snd.signature.enclosingClass.name |
Check warning
Code scanning / detekt
Avoid using referential equality and prefer to use referential equality checks instead. Warning test
This PR brings the necessary fixes by incorporating the changes in ETS model introduced by UnitTestBot/jacodb#313.