You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ruby parser considers CR to be a whitespace character, but IRB does not seem to do that.
This may result in an extra ^M at the end of a line when viewing the source from IRB.
How to reproduce
Save the following source code in CRLF newline on Windows and execute it on WSL.
def desc
"this file has CRLF newline"
end
binding.irb
Description
The ruby parser considers CR to be a whitespace character, but IRB does not seem to do that.
This may result in an extra ^M at the end of a line when viewing the source from IRB.
How to reproduce
Save the following source code in CRLF newline on Windows and execute it on WSL.
The text was updated successfully, but these errors were encountered: