<@U0N6C2Q9F> fyi: I’m starting first steps on addi...
# development
a
@fast-nail-55400 fyi: I’m starting first steps on adding support for
export
dependencies for Java dep inference — these are source dependencies that need to be inspected recursively to fulfil a complete type definition for the compiler. I may have some questions about the parsing code at some point, but I’m not certain there’s much to comment on just yet, unless you’ve spent any time thinking about it. (cc @witty-crayon-22786)
👍 1
f
not really. just thought a next step would be to read some of the type solving code in JavaParser
and maybe make use of some of that code.
w
i think that there is a symmetry between the
exports
and
dependencies
lists of a target, and positions that a symbol is used in in a source file: some positions are exported (á la #13525 and #13527), and some positions are just dependencies
a
Yeah, I’m about to look at
JavaParser
; my guess here is that as a first pass, I’ll be marking supertypes, plus return types of `public`/`protected` methods as exports, which suspect is already supported, it just needs to be marked as an export type
@witty-crayon-22786 ^--- those are the positions that immediately occured to me
w
makes sense, yea. the other one was generic arguments to functions i think?
but just having any examples and a path toward more is a good first step.
a
Right, the type params of generic arguments
w
this same framework seems like it might eventually (very eventually) allow for direct-deps-only scala compilation, which would be awesome.