package root:root; world root { resource a { constructor(); } } package a:b { world a { resource a; } world b { resource a { constructor(); } } }