View Issue Details

IDProjectCategoryView StatusLast Update
0036362FPCCompilerpublic2019-11-26 22:25
ReporterRyan JosephAssigned ToJonas Maebe 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.1Product Build 
Target VersionFixed in Version3.3.1 
Summary0036362: := operator overload with ObjC type error
DescriptionThe example program below gives me a Internal error 200505171.
Steps To Reproduce{$mode objfpc}
{$modeswitch objectivec1}

program test;
uses
  CocoaAll;

operator := (right: array of const): NSMutableArray;
begin
end;

var
  a: NSMutableArray;
begin
  a := [NSSTR('a')];
end.
TagsNo tags attached.
Fixed in Revision43594
FPCOldBugId
FPCTarget-
Attached Files

Activities

Jonas Maebe

2019-11-26 22:25

manager   ~0119516

You may want to use "const right: array of const" to prevent useless copying of the array on the callee side to dynamic memory.

Issue History

Date Modified Username Field Change
2019-11-26 21:22 Ryan Joseph New Issue
2019-11-26 22:25 Jonas Maebe Assigned To => Jonas Maebe
2019-11-26 22:25 Jonas Maebe Status new => resolved
2019-11-26 22:25 Jonas Maebe Resolution open => fixed
2019-11-26 22:25 Jonas Maebe Fixed in Version => 3.3.1
2019-11-26 22:25 Jonas Maebe Fixed in Revision => 43594
2019-11-26 22:25 Jonas Maebe FPCTarget => -
2019-11-26 22:25 Jonas Maebe Note Added: 0119516