konveyor / tackle-test-generator-core

Apache License 2.0
28 stars 21 forks source link

Fixes in handling of generic classes during constructor sequence generation #91

Closed sinha108 closed 3 years ago

sinha108 commented 3 years ago

Description

This PR contains fixes in handling of generic classes during constructor sequence generation:

  1. For generic types, keep track of their instantiated types as defined in a constructor parameter and use that to perform type substitution in the constructor call operation
  2. Avoid creating constructor sequences for generic types during initial sequence pool augmented; sequences for such type should be created in the context of an instantiated type (defined as a method/constructor formal parameter)

Related to # (experiment issues)

Type of Change

Please check the types of changes your PR introduces.

How Has This Been Tested?

Tested locally using failing apps from the experiment benchmark

Checklist