
|
If you were logged in you would be able to see more operations.
|
|
|
Boo
Created: 18/Nov/05 01:35 PM
Updated: 18/Nov/05 02:04 PM
|
|
| Component/s: |
Compiler
|
| Affects Version/s: |
0.7
|
| Fix Version/s: |
0.7.5
|
|
def foo(ref x as int):
return x = 4
x = 3
print foo
|
|
Description
|
def foo(ref x as int):
return x = 4
x = 3
print foo  |
Show » |
|
it is very easy to mistakenly type = instead of == there.
def doit(x as int):
return x=3
result = doit(2)
print result