mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-15 18:52:13 +03:00
d891fde0c7
Both the standard and the reference interpreter were producing incorrect behaviors. The correct behavior is to return an empty sequence. Fixes #395.
20 lines
225 B
Plaintext
20 lines
225 B
Plaintext
Loading module Cryptol
|
|
(join (zero : [inf][0])) : [0]
|
|
0x0
|
|
True
|
|
[]
|
|
(join (zero : [1000][0])) : [0]
|
|
0x0
|
|
True
|
|
[]
|
|
Q.E.D.
|
|
(join (zero : [inf][0][32])) : [0][32]
|
|
[]
|
|
True
|
|
[]
|
|
(join (zero : [1000][0][32])) : [0][32]
|
|
[]
|
|
True
|
|
[]
|
|
Q.E.D.
|