diff options
author | John Hodge <tpg@mutabah.net> | 2015-09-20 13:40:54 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-09-20 13:40:54 +0800 |
commit | 3663599d6d0748c3d79ac91dcc89982faaa820ed (patch) | |
tree | 5c21f3443f1101b581807e37b3c4ad1d6a85b153 /src/types.cpp | |
parent | 8b22df5f2a6e1f37cf1964f82d369c8363e8016b (diff) | |
download | mrust-3663599d6d0748c3d79ac91dcc89982faaa820ed.tar.gz |
Do two passes of resolve to handle UFCS resolve problems
Diffstat (limited to 'src/types.cpp')
-rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index ee6588a5..d25d3332 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -576,7 +576,7 @@ Ordering TypeRef::ord(const TypeRef& x) const DEBUG(*this << " == " << x); if( ent.params ) DEBUG("- (L) " << *ent.params); if( x_ent.params ) DEBUG("- (R) " << *x_ent.params); - throw ::std::runtime_error("BUGCHECK - Can't compare mismatched generic types"); + BUG(m_span, "Can't compare mismatched generic types"); } else { } |