This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def method | |
if a == 52 | |
#do something | |
end | |
end |
Let’s suppose you accidentally wrote a = 52, with one equal. Compilation will be successful, but the error still present.
If you change code to 52 = a, the error will immediately appear in compilation.
Comments
Post a Comment