AndreVanDelft / scala

The SubScript extension to the Scala programming language
http://www.subscript-lang.org/
12 stars 1 forks source link

isEmpty method of the MessageHandlers is implemented #65

Closed anatoliykmetyuk closed 9 years ago

anatoliykmetyuk commented 9 years ago

Otherwise there was a compile time error.

AndreVanDelft commented 9 years ago

I had no such compilation error. Before merging, I want to be sure whether this was really a problem. What compile time error did you have? Can you explain it? Did you compile MessageQueue with line 13 = def isEmpty = collection.isEmpty?

anatoliykmetyuk commented 9 years ago

The MessageQueue extends the SafeCollection. In the last commit, the abstract isEmpty method was added to the SafeCollection. Hence, a compilation error that says that the MessageQueue should either be abstract or implement the isEmpty method.

AndreVanDelft commented 9 years ago

Ok, thanks, I overlooked that.