Ticket #352 (closed defect: fixed)
`in` does not work with a string lits in a dynamic var pointing to a string
Reported by: | Charles | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.6 |
Keywords: | Cc: |
Description
The last test fails:
class X def main assert 'ao' in 'aoeu' s = 'aoeu' assert 'ao' in s t = 'aoeu' to dynamic assert 'ao' in t
The generated code calls:
CobraCoreInternal.CobraImp.In("ao",t)/* G *//* E */
...which looks fine, so probably just the native function needs to be fixed.
Change History
Note: See
TracTickets for help on using
tickets.