I noticed that too, but I don’t think a behavior existing in PUC-Rio necessarily means that it shouldn’t be considered a Luau bug. The error message mischaracterizes the issue.
So yeah, I agree that this is a bug but it’s also a bug that’s hard for us to fix cleanly because that requires making the VM noticeably more complicated (+7% opcodes or smth) for no benefit other than error clarity here.
Would it be better if we changed the error message to clearly indicate the operator involved? E.g. attempt to compare number and nil using <= or something along these lines?
That sounds like a good improvement. If possible, placing the operator involved between the value types in the error message (number <= nil) may be even clearer.