Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,261
    • Issues 1,261
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 47
    • Merge requests 47
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • FPC
  • FPC SourceFPC Source
  • Issues
  • #30494
Closed
Open
Created Aug 21, 2016 by FPC Admin account@fpc_adminOwner

[patch] for "Compilation raised exception internally" for wrong generic constraint

Original Reporter info from Mantis: hnb
  • Reporter name: Maciej Izak

Description:

small patch from my SmartPointers/ARC internal branch ;). Patch and example attached.

The compiler can't handle in correct way with this code:

{$MODE DELPHI}

type
  TFoo<T: TObject> = record
  end;

var
  foo: TFoo<Integer>; // Error: Compilation raised exception internally

Mantis conversion info:

  • Mantis ID: 30494
  • Version: 3.1.1
  • Fixed in version: 3.1.1
  • Fixed in revision: 34381 (#aaceb551)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking