Ticket #2 (accepted defect)
Cannot use "x in someList" where x is dynamic?
Reported by: | Chuck.Esterbrook | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | component1 | Version: | |
Keywords: | Cc: |
Description
class X
def main is shared
x = 2 to dynamic?
assert (x to int) in [1, 2, 3] # works
assert x in [1, 2, 3] # error: Cannot convert type "int?" to "int"
Change History
Note: See
TracTickets for help on using
tickets.