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

It should not be Redefined Error in REPL. #73

Closed
esehara opened this issue Dec 8, 2011 · 2 comments
Closed

It should not be Redefined Error in REPL. #73

esehara opened this issue Dec 8, 2011 · 2 comments

Comments

@esehara
Copy link

esehara commented Dec 8, 2011

example:

>>> proc echo_int(a,b:int,x,y:var int) =
...     x = a 
stdin(14, 0) Error: tabulators are not allowed
>>> proc echo_int(a,b:int,x,y:var int) =
...     x = a
stdin(15, 0) Error: tabulators are not allowed
stdin(14, 4) Error: redefinition of 'echo_int'

In example, "echo_int" proc is Error.then, "echo-int" should be un-defined,and could redefine.

@Araq
Copy link
Member

Araq commented Dec 8, 2011

The REPL actually overwrites the definition; you can treat that error as a warning.

@reactormonk
Copy link
Contributor

imo the redefinition error should be a warning int the REPL by default.

@Araq Araq closed this as completed in 517bb3d Sep 22, 2012
reactormonk pushed a commit to reactormonk/nim that referenced this issue Apr 7, 2014
krux02 pushed a commit to krux02/Nim that referenced this issue Jan 11, 2022
73: [DOC] Clean up speech tics r=haxscramper a=haxscramper

Removed the "ditto" speech tics from some comments. 

Co-authored-by: haxscramper <haxscramper@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants