Add CompilationError.fromLocationData