Fix semantic error.
From-SVN: r123996
This commit is contained in:
parent
9c3087bd05
commit
557435b745
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
package body return1 is
|
||||
function X_Func (O : access Child) return access Base'Class is
|
||||
begin
|
||||
return X_Local : access Child'Class do
|
||||
return X_Local : access Base'Class do
|
||||
X_Local := O;
|
||||
end return;
|
||||
end X_Func;
|
||||
|
|
Loading…
Add table
Reference in a new issue