Skip to content

Instantly share code, notes, and snippets.

@sparverius
Created November 25, 2018 08:27
Show Gist options
  • Save sparverius/2264893f13ec5974b11f829f04aa7a8c to your computer and use it in GitHub Desktop.
Save sparverius/2264893f13ec5974b11f829f04aa7a8c to your computer and use it in GitHub Desktop.
// results in type error as expected
#include "share/atspre_staload.hats"
implement main0() = {
val x = $list_vt{int}(1)
}
// does not result in type error
#include "share/atspre_staload.hats"
val x = $list_vt{int}(1)
implement main0() = ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment