File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ namespace Js
16
16
template <class SubClass , class Allocator >
17
17
class ParseTreeComparer : public TreeComparerBase <SubClass, ParseNode>
18
18
{
19
+ public:
20
+ using PNode = TreeComparerBase<SubClass, ParseNode>::PNode; // make the type explicit for /permissive-
21
+
19
22
private:
20
23
static const int TOKENLIST_MAXDIFF_SHIFT = 3 ; // Used to detect lists of significantly different lengths
21
24
@@ -205,6 +208,8 @@ namespace Js
205
208
class FunctionTreeComparer : public ParseTreeComparer <FunctionTreeComparer<Allocator>, Allocator>
206
209
{
207
210
public:
211
+ using PNode = ParseTreeComparer<FunctionTreeComparer<Allocator>, Allocator>::PNode;
212
+
208
213
FunctionTreeComparer (Allocator* alloc) : ParseTreeComparer(alloc) {}
209
214
FunctionTreeComparer (const FunctionTreeComparer& other) : ParseTreeComparer(other) {}
210
215
You can’t perform that action at this time.
0 commit comments