Skip to content

Instantly share code, notes, and snippets.

@jb55
Created November 28, 2010 05:53
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 jb55/718637 to your computer and use it in GitHub Desktop.
Save jb55/718637 to your computer and use it in GitHub Desktop.
###############################
gcd(a, b) = if (b == 0) a else gcd(b, a % b);
----------------------------------^
main() {
###############################
rational.clay(2,34): error: type propagation failed due to recursion without base case
compilation context:
gcd(Int32, Int32)
gcd(Int32, Int32)
main()
getExitCode()
callMain(Static[main])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment