summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/pure/hashes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim
index fdf0fdb0d..a0e6e2622 100644
--- a/lib/pure/hashes.nim
+++ b/lib/pure/hashes.nim
@@ -115,7 +115,7 @@ proc hash*(x: char): Hash {.inline.} =
   ## efficient hashing of characters
   result = ord(x)
 
-proc hash*[T: Ordinal](x: T): THash {.inline.} =
+proc hash*[T: Ordinal](x: T): Hash {.inline.} =
   ## efficient hashing of other ordinal types (e.g. enums)
   result = ord(x)
 
> 2011-06-20 01:28:41 +0200 bugfix: invoking a generic iterator twice triggers a code gen bug (titer2)' href='/ahoang/Nim/commit/tests/accept/compile/titer2.nim?h=devel&id=c3f11d1637cf8d07d06ba6032a52244d2e5eb6fb'>c3f11d163 ^
18bec94e2 ^


9a8b39c85 ^

















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51