mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-23 02:09:27 +02:00
pastojs: fixes filer class helper
This commit is contained in:
parent
396b864ad8
commit
b2ce235ff0
@ -3433,7 +3433,7 @@ begin
|
||||
// AncestorScope can be derived from DirectAncestor
|
||||
// CanonicalClassOf is autogenerated
|
||||
CanonicalClassOf:=Scope.CanonicalClassOf;
|
||||
if aClass.ObjKind=okClass then
|
||||
if aClass.ObjKind in ([okClass]+okAllHelpers) then
|
||||
begin
|
||||
if CanonicalClassOf=nil then
|
||||
RaiseMsg(20180217143821,aClass);
|
||||
|
Loading…
Reference in New Issue
Block a user