Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 28, 2016 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/f8fe02a390462d3405c3a90c572a7ede to your computer and use it in GitHub Desktop.
Save Whateverable/f8fe02a390462d3405c3a90c572a7ede to your computer and use it in GitHub Desktop.
committable6
2015.12,HEAD dd my $b = Blob.new(1,2,3); dd subbuf-rw($b,2,1) = Buf.new(42); dd $b
¦«2015.12»: Blob $b = Blob.new(1, 2, 3)
Blob.new(3)
Buf $b = Buf.new(1, 2, 42)
¦«HEAD»: Blob $b = Blob.new(1,2,3)
Type check failed in binding to b; expected Buf but got Blob (Blob.new(1,2,3))
in block <unit> at /tmp/RgmE9q12rN line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment