Skip to content
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

Unused variable error in let-in statement #19

Open
datsis opened this issue Nov 30, 2016 · 1 comment
Open

Unused variable error in let-in statement #19

datsis opened this issue Nov 30, 2016 · 1 comment

Comments

@datsis
Copy link
Collaborator

datsis commented Nov 30, 2016

Hash: 0c979a9

Source Code:

function Main( M : integer returns integer )
  let
    A := 1;
    B := 2
  in
    A + A
  end let
end function

Error:
Uncaught Output parameter list mismatch 2 instead of 1connectOutput @ ir.gen.js:272parse @ ir.gen.js:146parse @ ir.gen.js:96node.sisalir @ ir.nodes.js:309trn @ example.html:29onclick @ example.html:98

@parsifal-47
Copy link
Owner

Program is converted to:
https://github.com/parsifal-47/sisal-is/blob/master/examples/gd/example1.sis

Error no longer relevant, feel free to create any traditional issues at sisal-is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants