Skip to content

call.argument with no args#1022

Merged
mpollmeier merged 1 commit into
masterfrom
michael/call-argument
Nov 16, 2020
Merged

call.argument with no args#1022
mpollmeier merged 1 commit into
masterfrom
michael/call-argument

Conversation

@mpollmeier
Copy link
Copy Markdown
Contributor

prior to this:

semanticcpg/console

import io.shiftleft.codepropertygraph.Cpg
import io.shiftleft.semanticcpg.language._

def cpg: Cpg = ???
def a = cpg.call.argument

def b = cpg.call.head.argument
cmd1.sc:1: missing argument list for method argument in class CallMethods
Unapplied methods are only converted to functions when a function type is expected.

prior to this:
```
semanticcpg/console

import io.shiftleft.codepropertygraph.Cpg
import io.shiftleft.semanticcpg.language._

def cpg: Cpg = ???
def a = cpg.call.argument

def b = cpg.call.head.argument
cmd1.sc:1: missing argument list for method argument in class CallMethods
Unapplied methods are only converted to functions when a function type is expected.
```
@mpollmeier mpollmeier requested a review from fabsx00 November 15, 2020 23:30
@mpollmeier mpollmeier merged commit 91b3905 into master Nov 16, 2020
@delete-merged-branch delete-merged-branch Bot deleted the michael/call-argument branch November 16, 2020 05:13
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

Successfully merging this pull request may close these issues.

2 participants