Tuples
This commit is contained in:
@@ -248,7 +248,7 @@ begin
|
||||
raise ESpecializerException.CreateFmt('Internal Error: Failed to compile specialization for "%s"', [funcName]);
|
||||
|
||||
// 6b. Store in cache
|
||||
var returnType := compiled.StaticType.Signatures[0].ReturnType;
|
||||
var returnType := compiled.StaticType.AsMethod.Signatures[0].ReturnType;
|
||||
specializedMethod := TSpecializedMethod.Create(compiled.Func, returnType, compiled.IsPure);
|
||||
FMonomorphCache.Add(key, specializedMethod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user