|
@@ -1,17 +1,19 @@
|
|
unit tbs0139;
|
|
unit tbs0139;
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+{$mode objfpc}
|
|
|
|
+
|
|
interface
|
|
interface
|
|
uses
|
|
uses
|
|
- objpas, tbs0139a;
|
|
|
|
-
|
|
|
|
|
|
+ tbs0139a;
|
|
|
|
+
|
|
type
|
|
type
|
|
AnotherClass=class(SomeClass)
|
|
AnotherClass=class(SomeClass)
|
|
protected
|
|
protected
|
|
procedure doSomething; override;
|
|
procedure doSomething; override;
|
|
end ;
|
|
end ;
|
|
-
|
|
|
|
|
|
+
|
|
implementation
|
|
implementation
|
|
-
|
|
|
|
|
|
+
|
|
procedure AnotherClass.doSomething;
|
|
procedure AnotherClass.doSomething;
|
|
begin
|
|
begin
|
|
inherited doSomething; // this causes the error: " can not call protected
|
|
inherited doSomething; // this causes the error: " can not call protected
|