Skip to content

Qualify the identifierForNode CRTP call

Milian Wolff requested to merge work/fix-abstracttypebuilder-msvc into master

Hopefully this fixes the PHP compile error on msvc:

abstracttypebuilder.h(186): error C3861: 'identifierForNode': identifier not found
abstracttypebuilder.h(186): note: 'identifierForNode': function was not declared in the template definition context and can be found only via argument-dependent lookup in the instantiation context
abstracttypebuilder.h(186): note: the template instantiation context (the oldest one first) is
typebuilder.h(30): note: see reference to class template instantiation 'KDevelop::AbstractTypeBuilder<Php::AstNode,Php::IdentifierAst,Php::ContextBuilder>' being compiled
abstracttypebuilder.h(184): note: while compiling class template member function 'bool KDevelop::AbstractTypeBuilder<Php::AstNode,Php::IdentifierAst,Php::ContextBuilder>::openTypeFromName(NameT *,bool)'
        with
        [
            NameT=Php::IdentifierAst
        ]

Merge request reports