Closed bjuric closed 8 years ago
If a null value is bound to a scoped attribute, then get(name) throws an error (as expected) but getOpt(name) returns Some(null) instead of None.
null
get(name)
getOpt(name)
Some(null)
None
If a
null
value is bound to a scoped attribute, thenget(name)
throws an error (as expected) butgetOpt(name)
returnsSome(null)
instead ofNone
.