diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-01 16:06:23 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-01 16:06:23 +0800 |
commit | 6724e74e23f52c955a48f38a868605604956bf2a (patch) | |
tree | 3a6e57840cb11f049a3a9f4fb62206b5ccd1eea7 /src/hir/hir.cpp | |
parent | bdf2166e25572b9b03eb8155e2f5b4587378fbe4 (diff) | |
download | mrust-6724e74e23f52c955a48f38a868605604956bf2a.tar.gz |
HIR Typecheck - Altered ! handling to be an ivar type, fix fuzzy matches in expand_associated_types
Diffstat (limited to 'src/hir/hir.cpp')
-rw-r--r-- | src/hir/hir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/hir.cpp b/src/hir/hir.cpp index 09187ae8..e090b795 100644 --- a/src/hir/hir.cpp +++ b/src/hir/hir.cpp @@ -48,6 +48,7 @@ namespace { switch(right.m_data.as_Infer().ty_class) { case ::HIR::InferClass::None: + case ::HIR::InferClass::Diverge: return left.m_data.is_Generic(); case ::HIR::InferClass::Integer: TU_IFLET(::HIR::TypeRef::Data, left.m_data, Primitive, le, |