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

Key: BOO-819
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Rodrigo B. de Oliveira
Reporter: Jim Lewis
Votes: 0
Watchers: 0
Operations

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

Disallow comparing static ref to function with not static ref

Created: 30/Apr/07 01:11 PM   Updated: 11/Jun/07 03:50 PM
Component/s: Compiler
Affects Version/s: 0.7.6
Fix Version/s: 0.7.8

Time Tracking:
Not Specified

Environment: #Develop


 Description  « Hide
Could someone explain why Run results in "Diff" and how to fix this. I
need the static and non static function refs to be the same.

class Test:

def F1 ():
pass

static FA = [F1]
FB = [F1]

def Run ():
if FA[0] == FB[0]: Edit.Text += "Same"
else: Edit.Text += "Diff"



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Rodrigo B. de Oliveira - 11/Jun/07 03:50 PM
The compiler no longer allows an instance method reference to be used in a static context.