Whiley / WhileyCompiler

The Whiley Compiler (WyC)
http://whiley.org
Apache License 2.0
217 stars 36 forks source link

Fix QuickCheck Dependencies #1137

Closed DavePearce closed 2 years ago

DavePearce commented 2 years ago

Currently QuickCheck doesn't properly support dependencies (e.g. standard library)

DavePearce commented 2 years ago

Minimal example:

import std::array
import uint from std::integer

method f(int[] xs) -> (uint|null y):
    return array::first_index_of(xs,0)