mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
miscellaneous bug fixes (#13291)
* fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace
This commit is contained in:
@@ -184,3 +184,12 @@ proc testMinMax(a,b: float32) =
|
||||
|
||||
testMinMax(0.0, NaN)
|
||||
testMinMax(NaN, 0.0)
|
||||
|
||||
|
||||
block:
|
||||
type Foo = enum
|
||||
k1, k2
|
||||
var
|
||||
a = {k1}
|
||||
b = {k1,k2}
|
||||
doAssert a < b
|
||||
|
||||
Reference in New Issue
Block a user