// コンストラクタ内でMapBox作成のテスト print("=== MapBox in Constructor Test ===") // Step 1: コンストラクタでMapBox作成 box BoxWithMap { init { data } constructor() { print("Before creating MapBox") me.data = new MapBox() print("After creating MapBox") } test() { print("Test method called") } } print("About to create BoxWithMap...") local box1