Changeset 335 in dev for trunk/abdev/BasicCompiler_Common/src
- Timestamp:
- Sep 28, 2007, 3:27:35 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Delegate.cpp
r327 r335 188 188 destSource += sourceTemplate.GetResult( values ); 189 189 } 190 /* 191 ofstream ofs( ( Jenga::Common::Environment::GetAppDir() + "\\generated_delegate_code.log" ).c_str() ); 192 ofs << destSource; 193 ofs.close(); 194 */ 190 195 } -
trunk/abdev/BasicCompiler_Common/src/Type.cpp
r332 r335 512 512 if( pUserProc ) 513 513 { 514 // 基底クラスでの自己解決 515 const CClass *pClass = &classType.GetClass(); 516 while( pClass->HasSuperClass() ) 514 if( classType.IsObject() ) 517 515 { 518 if( pUserProc->GetParentClassPtr() == &pClass->GetSuperClass() ) 516 // 基底クラスでの自己解決 517 const CClass *pClass = &classType.GetClass(); 518 while( pClass->HasSuperClass() ) 519 519 { 520 if( p Class->GetSuperClassActualTypeParameters().size() )520 if( pUserProc->GetParentClassPtr() == &pClass->GetSuperClass() ) 521 521 { 522 // TODO: 適切な形に実装し直す(暫定的にトップの型を持ってきている) 523 typeParameter = pClass->GetSuperClassActualTypeParameters()[0]; 522 if( pClass->GetSuperClassActualTypeParameters().size() ) 523 { 524 // TODO: 適切な形に実装し直す(暫定的にトップの型を持ってきている) 525 typeParameter = pClass->GetSuperClassActualTypeParameters()[0]; 526 } 524 527 } 528 pClass = &pClass->GetSuperClass(); 525 529 } 526 pClass = &pClass->GetSuperClass();527 530 } 528 531 }
Note:
See TracChangeset
for help on using the changeset viewer.