-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
chimera fails to resolve clang::DependentNameType
such as typename S::Scalar
in the following code:
template <typename T>
class Vector {
public:
using Scalar = T;
};
template<typename S>
struct ScalarTrait {
typedef typename S::Scalar type;
};
using VectorScalar = ScalarTrait<Vector<double>>::type;
that throws an exception as
chimera.util.resolveDeclaration:1:18: error: use of undeclared identifier 'S'
typedef typename S::Scalar chimera_placeholder_4;
^
chimera.util.resolveDeclaration:1:21: error: expected a qualified name after 'typename'
typedef typename S::Scalar chimera_placeholder_4;
^
chimera.util.resolveDeclaration:1:27: error: expected ';' after top level declarator
typedef typename S::Scalar chimera_placeholder_4;
Metadata
Metadata
Assignees
Labels
No labels