Skip to content

Commit

Permalink
Adding fix for #1638
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Apr 2, 2021
1 parent 4f70897 commit 7b70b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ class SuiteBuilder {
suiteObject.addMember(attribute)
suiteObject.initializeAttribute(attribute)
]
if (suite.initializeMethod !== null) {
interpreter.performOnStack(test, suiteObject, [| interpreter.eval(suite.initializeMethod.expression) ])
}
WollokInterpreterEvaluator.callInitIfDefined(suiteObject)
if (test !== null) {
// Now, declaring test local variables as suite wko instance variables
test.variableDeclarations.forEach[ attribute |
Expand Down
2 changes: 1 addition & 1 deletion wollok-language

0 comments on commit 7b70b08

Please sign in to comment.