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
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2.1k
    • Issues 2.1k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #29860
Closed
Open
Issue created Mar 19, 2016 by FPC Admin account@fpc_adminOwner

SmartHint does not work for generic specialized types

Original Reporter info from Mantis: Penilopa P
  • Reporter name: Anton

Description:

There is no hint at all when hover the mouse cursor over the variable of a generic type. See code sample in Steps.
The reason: ProceedWithSmartHint (finddeclarationtool.pas:~3005) tries to find declaration of "specialize" keyword that results in CT exception.
Identifier completion works as expected.

Steps to reproduce:

procedure TForm1.FormCreate(Sender: TObject);
type
  t = specialize TFPGList<Integer>; { from "fgl" unit }
var
  list: t; // <<- hover "list"
begin

end;

Mantis conversion info:

  • Mantis ID: 29860
  • Build: r51996
  • Version: 1.7 (SVN)
Assignee
Assign to
Time tracking