mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Fix a crash which occurs when compiling std/conv.d with unittests
This commit is contained in:
parent
6ef7ee6d32
commit
4ab6869c50
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ DValue* DtoCastClass(DValue* val, Type* _to)
|
|||
// get the from class
|
||||
ClassDeclaration* cd = fc->sym->isClassDeclaration();
|
||||
DtoResolveClass(cd); // add this
|
||||
IrTypeClass* typeclass = fc->irtype->isClass();
|
||||
IrTypeClass* typeclass = stripModifiers(fc)->irtype->isClass();
|
||||
|
||||
// find interface impl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue