Log of the #nice channel on irc.freenode.net

Using timezone: Central European Time
* ChanServ leaves05:43
* ChanServ joins05:44
* rj-cole joins07:00
I'm having trouble with a nice program...07:01
class Ref<T> {
public ?T content = null;
}
interface Comparable {}
class Node<Comparable T> {
public Ref<Node<T>> left = new Ref();
public Ref<Node<T>> right = new Ref();
public T value;
}
<Comparable T> Node<T> create_node(T value) {
return new Node(value: value);
}
<Comparable T> int local_compare(T x, T y);
<Comparable T> void insert(T x, Ref<Node<T>> node) {
if ( node.content != null ) {
T v = node.content.value;
int lt = local_compare(x, v);
if (lt > 0) {
insert(x, node.content.left);
}
else if (lt > 0) {
* rj-cole leaves
* rj-cole joins07:02
<Comparable T> void insert(T x, Ref<Node<T>> node) {07:03
if ( node.content != null ) {
T v = node.content.value;
The compiler says that there is no possble call for value on the line "T v = node.content.value;"07:04
* rj-cole leaves07:25
* arjanb joins07:35
* bonniot leaves10:51
* CIA-9 leaves12:22
* CIA-7 joins
* CIA-7 leaves13:54
* CIA-7 joins13:56
* ChanServ leaves14:06
* ChanServ joins
* cm_ joins17:40
hi
<arjanb>hi17:41
* cm_ leaves21:42

Generated by Sualtam