Skip to content

Commit

Permalink
Merge e8f314f into e8f25ea
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed May 26, 2019
2 parents e8f25ea + e8f314f commit 9717736
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 209 deletions.
28 changes: 0 additions & 28 deletions org.uqbar.project.wollok.launch/wdk/bin/wast.sh

This file was deleted.

28 changes: 0 additions & 28 deletions org.uqbar.project.wollok.launch/wdk/bin/wchecker.sh

This file was deleted.

28 changes: 0 additions & 28 deletions org.uqbar.project.wollok.launch/wdk/bin/winterpreter.sh

This file was deleted.

28 changes: 0 additions & 28 deletions org.uqbar.project.wollok.launch/wdk/bin/wrepl.sh

This file was deleted.

57 changes: 0 additions & 57 deletions org.uqbar.project.wollok.launch/wdk/bin/wserver-stop.sh

This file was deleted.

31 changes: 0 additions & 31 deletions org.uqbar.project.wollok.launch/wdk/bin/wserver.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,12 @@ class WollokDslProposalProvider extends AbstractWollokDslProposalProvider {
}

def synchronized getAllMethods(EObject obj) {
if (!obj.isTypeSystemEnabled)
return (obj as WMethodContainer).allUntypedMethods
else {
val tsLabelExtension = obtainLabelExtension
if (tsLabelExtension !== null)
tsLabelExtension.allMethods(obj)
else
newArrayList
val untypedMethods = obj.allUntypedMethods
if (!obj.isTypeSystemEnabled) {
untypedMethods
} else {
val typedMethods = obtainLabelExtension?.allMethods(obj)
if (typedMethods !== null && !typedMethods.isEmpty) typedMethods else untypedMethods
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,14 @@ class WMethodContainerExtensions extends WollokModelExtensions {
methods.filter [ m | m.name.equals(methodName) && !m.overrides ].toList
}

def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(EObject o) { newArrayList }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(WMixin it) { methods }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(WNamedObject it) { inheritedMethods }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(WObjectLiteral it) { inheritedMethods }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(MixedMethodContainer it) { inheritedMethods }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(WClass it) { inheritedMethods }
def static dispatch Iterable<WMethodDeclaration> allUntypedMethods(WSuite it) { methods }

def static allVariables(WMethodContainer it) {
allVariableDeclarations.map [ variable ]
}
Expand Down

0 comments on commit 9717736

Please sign in to comment.