View Issue Details

IDProjectCategoryView StatusLast Update
0036223FPCCompilerpublic2019-11-01 17:53
ReporterRyan JosephAssigned ToSven Barth 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.3.1Product Build 
Target VersionFixed in Version3.3.1 
Summary0036223: multihelpers unknown type error
DescriptionWith $multihelpers enabled If you have a class helper with an undefined class type you get a "Compilation raised exception internally" error.

This is a bug with my feature patch (most likely) so I'll try to fix it myself when I get some free time.
Steps To Reproduce{$mode objfpc}
{$modeswitch multihelpers}

unit multihelpers_bug;
interface
uses
  SysUtils;

type
  // ERROR: Compilation raised exception internally
  TMyHelper = class helper for TSomeObject
  end;

implementation

end.
TagsNo tags attached.
Fixed in Revision43346
FPCOldBugId
FPCTarget-
Attached Files
  • multihelpers_bug.pas (170 bytes)
    {$mode objfpc}
    {$modeswitch multihelpers}
    
    unit multihelpers_bug;
    interface
    uses
      SysUtils;
    
    type
      TMyHelper = class helper for TSomeObject
      end;
    
    implementation
    
    end.
    multihelpers_bug.pas (170 bytes)

Activities

Ryan Joseph

2019-10-28 14:48

reporter  

multihelpers_bug.pas (170 bytes)
{$mode objfpc}
{$modeswitch multihelpers}

unit multihelpers_bug;
interface
uses
  SysUtils;

type
  TMyHelper = class helper for TSomeObject
  end;

implementation

end.
multihelpers_bug.pas (170 bytes)

Sven Barth

2019-11-01 16:03

manager   ~0118951

Please test and close if okay.

Issue History

Date Modified Username Field Change
2019-10-28 14:48 Ryan Joseph New Issue
2019-10-28 14:48 Ryan Joseph File Added: multihelpers_bug.pas
2019-11-01 16:03 Sven Barth Assigned To => Sven Barth
2019-11-01 16:03 Sven Barth Status new => resolved
2019-11-01 16:03 Sven Barth Resolution open => fixed
2019-11-01 16:03 Sven Barth Fixed in Version => 3.3.1
2019-11-01 16:03 Sven Barth Fixed in Revision => 43346
2019-11-01 16:03 Sven Barth FPCTarget => -
2019-11-01 16:03 Sven Barth Note Added: 0118951
2019-11-01 17:53 Ryan Joseph Status resolved => closed