Hello,<br><br>i'm restoring the opengl stuff and i'm facing the following error:<br><br>Depending pass: .....--SEMANTIC---------<br>Type `OBJECT' is invalid with `Expanded INTEGER'.<br>Line 112 column 34 in OBJECT(/home/dams/Lisaac/lisaac_0.39_beta/lib/standard/kernel/<a href="http://object.li">object.li</a>):<br>
- Self:SELF '==' Right 60 other:OBJECT :BOOLEAN <- ( deferred; FALSE);<br> ^<br>Line 64 column 9 in HASHED_DICTIONARY(/home/dams/Lisaac/lisaac_0.39_beta/lib/standard/collection/<a href="http://hashed_dictionary.li">hashed_dictionary.li</a>):<br>
- has k:K :BOOLEAN <-<br><br>Triggered by the code:<br><br>keys := HASHED_DICTIONARY(INTEGER,INTEGER).create;<br>keys.add k_backspace to (`XK_BackSpace`:INTEGER);<br>...<br><br> keys.has key.if { <<<<br>
...<br>}<br><br>So it is no more possible to store Expanded object like INTEGER in collections? It used to work..<br>I think the '==' profil changed, and by the way what is the semantic of '~=' operator? i saw it somewhere.<br>
<br>I tried the REFERENCE(E) on a simple example and it segfaults:<br>+ i:INTEGER;<br>+ ref:REFERENCE(INTEGER);<br><br>ref := i; <<<<br><br>It should be ok because REFERENCE(E) imports from E? Nevertheless it shouldn't segfault :)<br>
<br>Damien<br><br><br><br>