diff --git a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_worker_with_return.json b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_worker_with_return.json index df795958bbf6..7ada80c6ccce 100644 --- a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_worker_with_return.json +++ b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_worker_with_return.json @@ -24,7 +24,9 @@ }, "unusedTypeDefNames": { "sourceTypeDefinitions": [], - "virtualTypeDefinitions": [] + "virtualTypeDefinitions": [ + "$anonType$_0" + ] }, "usedNativeClassPaths": [] } diff --git a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_workers.json b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_workers.json index 0fdee75227ad..45a4be1166b8 100644 --- a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_workers.json +++ b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/function_invocation_inside_workers.json @@ -26,7 +26,9 @@ }, "unusedTypeDefNames": { "sourceTypeDefinitions": [], - "virtualTypeDefinitions": [] + "virtualTypeDefinitions": [ + "$anonType$_0" + ] }, "usedNativeClassPaths": [] } diff --git a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker.json b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker.json index d66edcbd1a90..6b514426d669 100644 --- a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker.json +++ b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker.json @@ -25,7 +25,9 @@ "sourceTypeDefinitions": [ "UnusedTypeDef" ], - "virtualTypeDefinitions": [] + "virtualTypeDefinitions": [ + "$anonType$_1" + ] }, "usedNativeClassPaths": [] } diff --git a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker_with_return.json b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker_with_return.json index cc001f6a14cd..c86a290fe1f7 100644 --- a/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker_with_return.json +++ b/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer/json-files/build-projects/type_definition_inside_worker_with_return.json @@ -25,7 +25,9 @@ "sourceTypeDefinitions": [ "UnusedTypeDef" ], - "virtualTypeDefinitions": [] + "virtualTypeDefinitions": [ + "$anonType$_1" + ] }, "usedNativeClassPaths": [] }