Closed goldobin closed 6 years ago
The wait method in CoreOps clashes with Java's Object::wait(). It works well if you're running emulator in script mode. In interactive mode ammonite resolves wait as Object::wait(long) instead of CoreOps::wait(FiniteDuration).
wait
CoreOps
Object::wait()
Object::wait(long)
CoreOps::wait(FiniteDuration)
This PR renames wait method to sleep
sleep
Dankjewel Alex!
The
wait
method inCoreOps
clashes with Java'sObject::wait()
. It works well if you're running emulator in script mode. In interactive mode ammonite resolveswait
asObject::wait(long)
instead ofCoreOps::wait(FiniteDuration)
.This PR renames
wait
method tosleep