View Issue Details

IDProjectCategoryView StatusLast Update
0037536pas2jsrtlpublic2020-08-10 16:06
Reporterhenrique Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMakestubOSWindows 
Fixed in Versiontrunk 
Summary0037536: Fixed some declarations
DescriptionRemoved the TCompareOption and TCompareOptions statement, because they are declared in the System and do not need to be re-clarified in that unit.

I also removed a default value from a function that is declared only in the implementation.
TagsNo tags attached.
Fixed in Revision818
Attached Files

Activities

henrique

2020-08-10 15:53

reporter  

SysUtils.patch (1,204 bytes)   
From dbc47c03d1bbb2a95245db1fdc7371131618c085 Mon Sep 17 00:00:00 2001
From: Henrique Gottardi Werlang <henriquewerlang@hotmail.com>
Date: Mon, 10 Aug 2020 10:50:07 -0300
Subject: [PATCH] =?UTF-8?q?1=20-=20Removido=20a=20declara=C3=A7=C3=A3o=20d?=
 =?UTF-8?q?o=20TComparer.=202=20-=20Removido=20valor=20default=20no=20impl?=
 =?UTF-8?q?ementation.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 packages/rtl/sysutils.pas | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/packages/rtl/sysutils.pas b/packages/rtl/sysutils.pas
index d1d340e..6e5a11a 100644
--- a/packages/rtl/sysutils.pas
+++ b/packages/rtl/sysutils.pas
@@ -694,9 +694,6 @@ Type
   end;
 
 
-  TCompareOption = system.TCompareOption;
-  TCompareOptions = system.TCompareOptions;
-
 {$SCOPEDENUMS ON}
   TStringSplitOptions = (None, ExcludeEmpty);
 {$SCOPEDENUMS OFF}
@@ -4048,7 +4045,7 @@ begin
 end;
 
 function TryStrToDate(const S: String; out Value: TDateTime;
-                    const useformat : string; separator : char = #0): Boolean;
+                    const useformat : string; separator : char): Boolean;
 
 Var
   Msg : String;
-- 
2.28.0.windows.1

SysUtils.patch (1,204 bytes)   

Michael Van Canneyt

2020-08-10 16:06

administrator   ~0124737

Applied, thank you very much!

Issue History

Date Modified Username Field Change
2020-08-10 15:53 henrique New Issue
2020-08-10 15:53 henrique File Added: SysUtils.patch
2020-08-10 16:06 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-08-10 16:06 Michael Van Canneyt Status new => resolved
2020-08-10 16:06 Michael Van Canneyt Resolution open => fixed
2020-08-10 16:06 Michael Van Canneyt Fixed in Version => trunk
2020-08-10 16:06 Michael Van Canneyt Fixed in Revision => 818
2020-08-10 16:06 Michael Van Canneyt Note Added: 0124737