Skip to content

Wrong annotation: shows ""unused variable", should be "variable is unbound" #94

Closed
yzh44yzh opened this Issue Oct 16, 2012 · 4 comments

4 participants

@yzh44yzh

with code:

some() ->
A = 5 + Some.

parser shows warning: "unused variable Some", but it should show error "variable Some is unbound"

with code:

some() ->
5 + Some.

it works properly.

@vladimirk

Cannot reproduce this one. Are you sure you haven't misread? It shows 'unresolved variable' not 'unused'.

May be warning should say "unbound variable" to be more erlangish.

@yzh44yzh

See screenshots:
http://pix.am/PudG.png it shows warting instead of error
http://pix.am/cQHe.png it shows error as it should

The only difference is 'A = B + 3' in first case and 'B + 3' in second case

@ignatov
Owner
@deadok22
Collaborator

Cannot reproduce the bug.

some() ->
  A = B + 3.

And it says, "Variable 'B' is unbound".
Could somebody check if it's still there?

@ignatov ignatov closed this Jun 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.