New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preexisting Bug 2 #136

DavePearce opened this Issue Oct 8, 2017 · 0 comments


None yet
1 participant

DavePearce commented Oct 8, 2017

(see also #86)

This program is generating the dreaded need to fix this preexisting bug error:

function double(int n) -> (int m):
  assume n >= 0
  int i = 0
  m = 0
  while i < n where m==2*i:
    i = i+1
    m = m+2
  return m

At a minimum, we need a proper error message to be reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment