summaryrefslogtreecommitdiff
path: root/src/process_file.ml
diff options
context:
space:
mode:
authorThomas Bauereiss2019-11-20 11:34:42 +0000
committerThomas Bauereiss2019-11-21 14:04:32 +0000
commitd88d4b2fe39476d67daba21bbc83f2f69d24d3ac (patch)
treebfa14e9623fff7d107d613f2dcdea5af6a3db28e /src/process_file.ml
parenteb0e17f219949bf704c0dfe658326665fb17dd27 (diff)
Fix bugs in mutrec constant propagation
The val spec generation for partially evaluated function copies did not pick up type variables originally declared using the new "constant" syntax, as well as some implicit existential variables (e.g. in "bool") that were not declared originally but appear and get bound during instantiation. Change the code to just recreate the list of type variables from scratch from the new type. This will lose "constant" annotations, but the new list of type variables should be correct.
Diffstat (limited to 'src/process_file.ml')
0 files changed, 0 insertions, 0 deletions