diff options
author | Oscar NihlgÄrd <oscarnihlgard@gmail.com> | 2019-08-31 19:34:08 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-08-31 19:34:08 +0200 |
commit | 35268c500f2143e757a71846b246a1ecb31c72f8 (patch) | |
tree | b843a8b5c75dc0b5530a1361f1456dcdc05c83de /tests/arithm | |
parent | 6e01be34efd60869c7905b1effcc47880cedfb6d (diff) | |
download | Nim-35268c500f2143e757a71846b246a1ecb31c72f8.tar.gz |
Fix int literals and range interaction (#11197)
* Fix int literals and range interaction * Fix test * remove float range fix; update changelog
Diffstat (limited to 'tests/arithm')
-rw-r--r-- | tests/arithm/tarithm.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arithm/tarithm.nim b/tests/arithm/tarithm.nim index 1150af951..a79f897a7 100644 --- a/tests/arithm/tarithm.nim +++ b/tests/arithm/tarithm.nim @@ -142,5 +142,5 @@ block tsubrange: var level: n16 = 1 let maxLevel: n16 = 1 - level = min(level + 2, maxLevel) + level = min(level + 2, maxLevel).n16 doAssert level == 1 |