this .bs code:
childRail@.initializeWithRiversJson(childRail.riversJson)
reports diagnostic : brs1001 - Cannot find function with name 'childRail' when this file is included in scope 'source'
transpilation still succeeds, as this screenshot shows.

I've had a look at the code; but not sure how best to deal with this to workaround it.. not sure if it should even be in the functionExpressions references, as it's a callfun expression, or if it should just get filtered out of the response from findFunctionCalls