Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,093
    • Issues 2,093
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #38957
Closed
Open
Created Jun 02, 2021 by FPC Admin account@fpc_adminOwner

CodeTools trips over System.UITypes

Original Reporter info from Mantis: Bart @flyingsheep
  • Reporter name: Bart Broersma

Description:

If a source file has System.UITypes in it's uses clause, CodeTools trip over it whenever it is invoked:

system.uitypes.pp(183,9) Error: Case only allowed in records

Steps to reproduce:

| Indicates the position of the Caret:

{$mode objfpc}{$H+}

uses
    Classes, SysUtils, System.UITypes;

begin
  writeln(|
end.

After writing the opening bracket for writeln(), CodeTools just trip.

Mantis conversion info:

  • Mantis ID: 38957
  • OS: Windows
  • OS Build: 10
  • Build: r65166
  • Platform: i386
  • Version: 2.1 (SVN)
  • Fixed in revision: r65275 (#57339c6e)
Assignee
Assign to
Time tracking