summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 519a0b7b..df00f147 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -335,8 +335,8 @@ void Path::resolve_ufcs(const Crate& root_crate, bool expect_params)
else if( type.is_type_param() )
{
// Check that the param is bound on that trait?
- if( !type.type_params_ptr() )
- throw CompileError::BugCheck( FMT("Path::resolve_ufcs - No bound params on arg") );
+ //if( !type.type_params_ptr() )
+ // throw CompileError::BugCheck( FMT("Path::resolve_ufcs - No bound params on arg") );
//const auto& tps = *type.type_params_ptr();
//for( const auto& bound : tps.bounds() )