Ignore:
Timestamp:
Mar 22, 2008, 1:56:31 AM (16 years ago)
Author:
dai_9181
Message:

・デリゲートの共変戻り値、反変引数に対応した。
・core.libで定義されたデリゲートがアプリケーションプロジェクトで利用できないバグを修正。

File:
1 edited

Legend:

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

    r448 r449  
    55void Delegate::RefleshParameterAndReturnType()
    66{
     7    compiler.GetNamespaceSupporter().SetImportedNamespaces( this->importedNamespaces );
     8    compiler.GetNamespaceSupporter().SetLivingNamespaceScopes( this->GetNamespaceScopes() );
     9
    710    // パラメータを解析
    811    params.Analyze( paramStr.c_str(), sourceIndex );
     
    151154            }
    152155
    153             this->Put( new Delegate( namespaceScopes, name, procKind, paramStr, returnTypeName, nowLine ) );
     156            this->Put( new Delegate( namespaceScopes, importedNamespaces, name, procKind, paramStr, returnTypeName, nowLine ) );
    154157        }
    155158    }
Note: See TracChangeset for help on using the changeset viewer.