-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1402 from visualfc/overload
cl: overload func match check
- Loading branch information
Showing
5 changed files
with
221 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package foo | ||
|
||
const GopPackage = true | ||
|
||
type Mesher interface { | ||
Name() string | ||
} | ||
|
||
type N struct { | ||
} | ||
|
||
func (m *N) OnKey__0(a string, fn func()) { | ||
} | ||
|
||
func (m *N) OnKey__1(a string, fn func(key string)) { | ||
} | ||
|
||
func (m *N) OnKey__2(a []string, fn func()) { | ||
} | ||
|
||
func (m *N) OnKey__3(a []string, fn func(key string)) { | ||
} | ||
|
||
func (m *N) OnKey__4(a []Mesher, fn func()) { | ||
} | ||
|
||
func (m *N) OnKey__5(a []Mesher, fn func(key Mesher)) { | ||
} | ||
|
||
func (m *N) OnKey__6(a []string, b []string, fn func(key string)) { | ||
} | ||
|
||
func (m *N) OnKey__7(a []string, b []Mesher, fn func(key string)) { | ||
} | ||
|
||
func OnKey__0(a string, fn func()) { | ||
} | ||
|
||
func OnKey__1(a string, fn func(key string)) { | ||
} | ||
|
||
func OnKey__2(a []string, fn func()) { | ||
} | ||
|
||
func OnKey__3(a []string, fn func(key string)) { | ||
} | ||
|
||
func OnKey__4(a []Mesher, fn func()) { | ||
} | ||
|
||
func OnKey__5(a []Mesher, fn func(key Mesher)) { | ||
} | ||
|
||
func OnKey__6(a []string, b []string, fn func(key string)) { | ||
} | ||
|
||
func OnKey__7(a []string, b []Mesher, fn func(key string)) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters