Paste: clay

Author: elrood
Mode: text
Date: Thu, 2 Sep 2010 14:46:13
Plain Text |
record Rec {
  foo : Int;
  bar : Pointer[Long];
}

var a, b = 0, 0; // parse error at ,

main() {
  var c, d = 0, 0; // but fine here
  var baz = Rec();
  baz.bar = 0; // error: no matching operation
  // would be helpful to display expected and found type if possible
}

New Annotation

Summary:
Author:
Mode:
Body: