HSBType != null --> Error


I get an XTend-Error when checking if my HSBType eqals null.

var HSBType soll    = (fade_soll.get( key)) as HSBType
if( soll != null) {
//do stuff

Casting it to Object seems to be a workaround:

var Object soll_obj    = (fade_soll.get( key)) as Object
if( soll_obj != null) {
   //now it works ??
   var soll = soll_obj as HSBType

Can anybody confirm this?