Revert "fix tforwardgeneric"

This reverts commit d82a032566.
This commit is contained in:
Araq 2013-05-27 23:18:15 +02:00
commit e3f93241c3
4 changed files with 6 additions and 8 deletions

View file

@ -1,5 +1,5 @@
discard """
output: "1.1000000000000001e+00 11"
output: "1.0000000000000000e+00 10"
ccodecheck: "!@'ClEnv'"
"""
@ -8,6 +8,5 @@ proc p[T](a, b: T): T
echo p(0.9, 0.1), " ", p(9, 1)
proc p[T](a, b: T): T =
let c = b
result = a + b + c
result = a + b