mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
* clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix
10 lines
188 B
Nim
10 lines
188 B
Nim
discard """
|
|
errormsg: '''type mismatch: got'''
|
|
file: "trat_float.nim"
|
|
line: "9,19"
|
|
"""
|
|
import rationals
|
|
var
|
|
# this fails - no floats as num or den
|
|
r = initRational(1.0'f, 1.0'f)
|