diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir/optimise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/optimise.cpp b/src/mir/optimise.cpp index 66260782..a60d2e32 100644 --- a/src/mir/optimise.cpp +++ b/src/mir/optimise.cpp @@ -283,7 +283,7 @@ namespace { { if( impl_ref_e.params[i] ) best_impl_params.push_back( impl_ref_e.params[i]->clone() ); - else if( ! impl_ref_e.params_ph[i].m_data.is_Generic() ) + else if( ! impl_ref_e.params_ph[i].m_data.is_Generic() || impl_ref_e.params_ph[i].m_data.as_Generic().binding >> 8 != 2 ) best_impl_params.push_back( impl_ref_e.params_ph[i].clone() ); else MIR_BUG(state, "[get_called_mir] Parameter " << i << " unset"); |