pufuwozu/roy — Issue #13: Exhaustiveness checks on pattern matching
Author: pufuwozu
Created: 2011-11-27 12:49:16+00:00
State: open
Labels: bug, needs research

This should be a compile-time error:

let x = match None
case (Some x) = x

console.log x

The match is partial.

Currently the above code outputs `undefined`.