compile snippet with correct file so relative #metaimports can be resolved correctly
don't decrease indent automatically