0bc3fc9203
FIR-tree for scripts is built either for KtScript or KtFile depending on the file structure. The presence of import statements results in KtFile. There are lazy trees (some nodes are stubs) that are not yet supported for scripts. We build such ones for KtFile case. This commit prevents lazy tree construction for scripts at references shortening. ^KT-59801 fixed