[backport] fix #13352

This commit is contained in:
narimiran
2020-02-07 18:26:08 +01:00
parent b2c6db97f9
commit 36d1ad39d0
2 changed files with 6 additions and 1 deletions

View File

@@ -31,7 +31,9 @@
## (year: 2010, name: "Jane")]
##
## proc myCmp(x, y: People): int =
## if x.name < y.name: -1 else: 1
## if x.name < y.name: -1
## elif x.name == y.name: 0
## else: 1
##
## # Sorting with custom proc
## a.sort(myCmp)

View File

@@ -7,6 +7,9 @@
# distribution, for details about the copyright.
#
## This is a part of ``system.nim``, you should not manually import it.
include inclrtl
import formatfloat