From 49976413275dca1b9520d41db8ab07cf82e5c3b4 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 23 Nov 2024 19:31:27 +1300 Subject: [PATCH] genbindings: allow subclassing abstract classes --- cmd/genbindings/clang2il.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/genbindings/clang2il.go b/cmd/genbindings/clang2il.go index e8747a5b..d465d513 100644 --- a/cmd/genbindings/clang2il.go +++ b/cmd/genbindings/clang2il.go @@ -373,10 +373,6 @@ nextMethod: continue // Skip private/protected } - if ret.Abstract { - continue // The bindings can't construct an abstract class - } - // Check if this is `= delete` if isExplicitlyDeleted(node) { continue