View Issue Details

IDProjectCategoryView StatusLast Update
0028953LazarusIDEpublic2015-11-04 12:26
ReporterOndrej PokornyAssigned ToOndrej Pokorny 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5 (SVN)Product Buildtrunk 
Target VersionFixed in Version1.5 (SVN) 
Summary0028953: CodeTools, CodeCreation: operator evaluation ignores operand types
DescriptionCtrl+Shift+C doesn't always calculate the type of a
binary operator correctly.
Steps To ReproduceComplete the "Res" variable in the code below:

procedure Test;
var
  I: Int64;
begin
  Res := I + 1;
end;

You get:
  Res: Integer;
instead of
  Res: Int64;
Additional InformationFunction to be extended: TFindDeclarationTool.CalculateBinaryOperator
TagsNo tags attached.
Fixed in Revision50217
LazTarget-
Widgetset
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-11-03 19:25 Ondrej Pokorny New Issue
2015-11-03 19:32 Mattias Gaertner Assigned To => Mattias Gaertner
2015-11-03 19:32 Mattias Gaertner Status new => assigned
2015-11-04 08:14 Ondrej Pokorny Fixed in Revision => 50217
2015-11-04 08:14 Ondrej Pokorny Status assigned => resolved
2015-11-04 08:14 Ondrej Pokorny Fixed in Version => 1.5 (SVN)
2015-11-04 08:14 Ondrej Pokorny Resolution open => fixed
2015-11-04 08:14 Ondrej Pokorny Assigned To Mattias Gaertner => Ondrej Pokorny
2015-11-04 12:26 Ondrej Pokorny Status resolved => closed