Skip to content

Commit

Permalink
compilerEs: don't attempt to require native java using statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Giannini authored and Matthew Giannini committed Dec 20, 2023
1 parent 87d3fdd commit 35ab78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compilerEs/fan/ast/JsPod.fan
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class JsPod : JsNode
js.wl("const sys = fantom ? fantom.sys : __require('sys.js');")

// we need to require full dependency chain
pods := (Pod[])pod.depends.map |p->Pod| { Pod.find(p.name) }
pods := (Pod[])pod.depends.mapNotNull |p->Pod?| { Pod.find(p.name, false) }
pods = Pod.orderByDepends(Pod.flattenDepends(pods))
pods.each |depend|
{
Expand Down

0 comments on commit 35ab78d

Please sign in to comment.