-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hi!
When using packages that have subpackages or depend on each other, it's often the case that a proc from one of them take a struct from the other. Like http -> http/client etc.
Currently, ols only shows fake methods from the package owning the struct.
Example:
- Create 2 folders / packages, I'll name them
oneandtwo - Create
oneas:
package one
Pokemon :: struct {}
level_up :: proc(pokemon: Pokemon) {}- Create
twoas:
package two
import one "../one"
level_up :: proc(pokemon: one.Pokemon) {}- Import both from an external odin file:
package Test
import "one"
import "two"
main :: proc() {
snorlax := one.Pokemon{}
snorlax. // only shows `one.level_up`
}would it be possible to show all procs that take the given type?
Cheers!
thetarnav
Metadata
Metadata
Assignees
Labels
No labels