Skip to content

Commit 8bf27c4

Browse files
committed
Skip ignored bases in ClassExtensions.GetBaseProperty.
1 parent bcf0014 commit 8bf27c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AST/ClassExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public static Property GetBaseProperty(this Class @class, Property @override,
6060
{
6161
foreach (var @base in @class.Bases)
6262
{
63+
if (@base.Ignore) continue;
64+
6365
if (!@base.IsClass || @base.Class.OriginalClass == @class ||
6466
(onlyFirstBase && @base.Class.IsInterface))
6567
continue;

0 commit comments

Comments
 (0)