Fix memory corruption bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
16a6a54df1
commit
1647e44510
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ expr metavar_env::get_subst(unsigned midx) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
expr metavar_env::get_type(unsigned midx, unification_problems & up) {
|
expr metavar_env::get_type(unsigned midx, unification_problems & up) {
|
||||||
data const & d = m_env[midx];
|
data d = m_env[midx];
|
||||||
expr t = d.m_type;
|
expr t = d.m_type;
|
||||||
if (t) {
|
if (t) {
|
||||||
return t;
|
return t;
|
||||||
|
|
Loading…
Reference in a new issue