https://bugs.ruby-lang.org/issues/20433
Sigh the bug is bad and the fix is also rough.
O_o How often are you evaling #inspected Hashes?!
eval
#inspect
This is likely a rare case, but nonetheless a language representing itself and getting its own syntax wrong is really bad form!
I basically agree! That said, it’s not like #inspect is fully reliable for that purpose (since you can’t eval("#<Object:0x00000001538e1918>") or whatever), but tests are definitely a case where I could see this coming up a lot.
eval("#<Object:0x00000001538e1918>")
Tests.
Aaaaaaaaaaaaaaaaaaaaaaaaa—
Indeed :)
It’s okay though. It just happened to come up today at work and I had just seen this topic lol but my coworker is a pro and is handling it.
https://bugs.ruby-lang.org/issues/20433
Sigh the bug is bad and the fix is also rough.
O_o How often are you
evaling#inspected Hashes?!This is likely a rare case, but nonetheless a language representing itself and getting its own syntax wrong is really bad form!
I basically agree! That said, it’s not like
#inspectis fully reliable for that purpose (since you can’teval("#<Object:0x00000001538e1918>")or whatever), but tests are definitely a case where I could see this coming up a lot.Tests.
Aaaaaaaaaaaaaaaaaaaaaaaaa—
Indeed :)
It’s okay though. It just happened to come up today at work and I had just seen this topic lol but my coworker is a pro and is handling it.