History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-563
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Rodrigo B. de Oliveira
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

type inference does not detect char type for iteration over strings

Created: 28/Oct/05 04:14 PM   Updated: 21/Nov/05 02:03 PM
Component/s: Compiler
Affects Version/s: 0.7
Fix Version/s: 0.7.5

Time Tracking:
Not Specified


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Cameron Kenneth Knight - 28/Oct/05 05:21 PM
>>> def thing(c as char):
... print 'char'
...
>>> def thing(o as object):
... print 'object'
...
>>> for c in "asdf":
... thing(c)
...
object
object
object
object