Ignore:
Timestamp:
May 5, 2008, 1:47:06 PM (16 years ago)
Author:
dai_9181
Message:

CClass::GetDelegateメソッドを廃止し、代わりにMeta::ToDelegateメソッドを実装。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/error.cpp

    r527 r562  
    6666            // デリゲート同士の比較の場合
    6767            // ※共変戻り値及び反辺引数をサポートすること
    68             if( !varType.GetClass().GetDelegate().IsSimilar( calcType.GetClass().GetDelegate() ) )
     68            const ::Delegate *pVarDelegate = &compiler.GetObjectModule().meta.ToDelegate( varType.GetClass() );
     69            const ::Delegate *pCalcDelegate = &compiler.GetObjectModule().meta.ToDelegate( calcType.GetClass() );
     70            if( !pVarDelegate->IsSimilar( *pCalcDelegate ) )
    6971            {
    7072                // 等しいと見なされないとき
Note: See TracChangeset for help on using the changeset viewer.