Skip to content
Snippets Groups Projects
  • Etienne Kneuss's avatar
    e4a278b4
    Propagate expected types to onSuccess · e4a278b4
    Etienne Kneuss authored
    This allows CostModels to estimate correctly the minimal cost of a
    applying a rule.
    
    With type information on the expected types of a solution
    reconstruction, the cost model can provide dummy values of the correct
    type, avoiding assertion errors when composing solutions.
    e4a278b4
    History
    Propagate expected types to onSuccess
    Etienne Kneuss authored
    This allows CostModels to estimate correctly the minimal cost of a
    applying a rule.
    
    With type information on the expected types of a solution
    reconstruction, the cost model can provide dummy values of the correct
    type, avoiding assertion errors when composing solutions.