Lower the level of ty_res rather than funct#11519
Lower the level of ty_res rather than funct#11519garrigue wants to merge 1 commit intoocaml:trunkfrom
Conversation
|
Actually, there is no need to lower the level here, as this is already done by the call to |
|
In principal mode, the code Looking at the git history, relevant commits are 0a82360, which introduced the generalization of |
|
Yes, we already checked the history, but I'm still not clear why this would be needed. |
Some old code was lowering the level on the wrong type.
I.e., when we return a typedtree node, we should ensure that its type is at
current_level, but we don't need to ensure that on children.This was probably a bug, but it was not detected by the testsuite.