mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-23 23:21:42 +00:00
progress
This commit is contained in:
@@ -6,6 +6,9 @@ proc foo(x: range[0..100]) = discard
|
||||
|
||||
foo(12)
|
||||
|
||||
proc bar(x: float) = discard
|
||||
type
|
||||
Float = range[0.0..100.0]
|
||||
|
||||
proc bar(x: Float) = discard
|
||||
|
||||
bar(12.0)
|
||||
Reference in New Issue
Block a user