Skip to content

Commit 4d04475

Browse files
committed
Fix error message
1 parent 333a7c6 commit 4d04475

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nova_vm/src/ecmascript/builtins/temporal/plain_time/plain_time_prototype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl TemporalPlainTimePrototype {
241241
// 1. Throw a TypeError exception.
242242
Err(agent.throw_exception_with_static_message(
243243
ExceptionType::TypeError,
244-
"can't convert PlainTime to primitive type. Use PlainTime.equal() or PlainTime.compare() instead.",
244+
"can't convert PlainTime to primitive type. Use PlainTime.prototype.equals() or PlainTime.compare() instead.",
245245
gc.into_nogc(),
246246
))
247247
}

0 commit comments

Comments
 (0)