opal icon indicating copy to clipboard operation
opal copied to clipboard

[WIP] Import files required by require_tree in Builder directory mode

Open janbiedermann opened this issue 1 year ago • 2 comments

Opal::Builder directory mode did not import files required via require_tree. This PR fixes that, however it probably moves SourceMap info a couple of lines too, which currently is not my concern, ill open a separate bug report for that once merged.

The correct import is tested by specs of #2656

janbiedermann avatar Jun 16 '24 14:06 janbiedermann

Contrary to above comment I added a spec here and line offset compensation for source maps.

janbiedermann avatar Oct 08 '25 04:10 janbiedermann

Final revision, compiler should have generated the imports in the first place, thats what happens now.

janbiedermann avatar Oct 08 '25 18:10 janbiedermann