Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DecafPlus
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tianqi Yang
DecafPlus
Commits
58e3a4aa
Commit
58e3a4aa
authored
Jan 11, 2019
by
Tianqi Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(overload): check only valid methods while checking candidates
Check only methods which can be a valid call while checking whether a function can be a candidate
parent
fb0b5550
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
FuncUtils.java
src/decaf/utils/FuncUtils.java
+2
-1
No files found.
src/decaf/utils/FuncUtils.java
View file @
58e3a4aa
...
...
@@ -170,8 +170,9 @@ public final class FuncUtils
for
(
Function
func
:
functions
)
{
if
(
errorIter
.
next
()
==
null
)
{
boolean
comp
=
false
;
Iterator
<
DecafError
>
errorIter2
=
errorList
.
iterator
();
for
(
Function
func2
:
functions
)
{
if
(!
func2
.
equals
(
func
)
&&
checkFunctionCompatible
(
func2
,
func
))
{
if
(
errorIter2
.
next
()
==
null
&&
!
func2
.
equals
(
func
)
&&
checkFunctionCompatible
(
func2
,
func
))
{
comp
=
true
;
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment