Skip to content

Error in LSP on Windows #11

@d2bridge

Description

@d2bridge

I'm using FreePascal Toolkit version 1.2.4 on Windows.

I only have one file with the code below:

program Hello;
uses
classes, sysutils, db;
var
vDB: TDataSet;
begin
vDB:= TDataSet.Create(nil);
vDB. <---- here
end.

In the code above, when the popup with the properties of "vDB" opens, it generates the following error:

C:\lazarus44win64\fpc\3.2.2\source\packages\rtl-objpas\src\inc\variants.pp: "expected end., but AResult found" @ 111:43;

I also tried without using the Lazarus paths, using only FPC, but then it generates an error saying that it cannot find the Units that I declare in Uses.

Thank you,

Talis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions