Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatched interface types can result in a python exception. #8

Open
chaosape opened this issue Feb 17, 2017 · 0 comments
Open

Mismatched interface types can result in a python exception. #8

chaosape opened this issue Feb 17, 2017 · 0 comments

Comments

@chaosape
Copy link

chaosape commented Feb 17, 2017

The problem arises due to the "subtracted" line of code in the following diff snippet.
A correction for it is trivial and noted in the "added" line of code.

@@ -490,7 +490,7 @@ class Connection(ASTObject):
if len(types) > 1:
raise ASTError('multiple conflicting types for the '
'interfaces of connection '%s': %s' % (self.name,
- ', '.join(types)), self)
+ ', '.join(map(str,types))), self)
for f in self.from_ends:
if not isinstance(f.interface, Emits) and not
isinstance(f.interface, Uses) and not \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant