Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoke test for hierarchy_generic #2798

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

v-jiaodi
Copy link
Member

@v-jiaodi v-jiaodi commented Sep 3, 2024

tspconfig.yaml

enableOperationGroup: false
hierarchyClient: false

error log:

src/api/operations.ts:20:17 - error TS2323: Cannot redeclare exported variable '_op1Send'.

20 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:20:17 - error TS2393: Duplicate function implementation.

20 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:33:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'.

33 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:33:23 - error TS2393: Duplicate function implementation.

33 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:44:23 - error TS2323: Cannot redeclare exported variable 'op1'.

44 export async function op1(
                         ~~~

src/api/operations.ts:44:23 - error TS2393: Duplicate function implementation.

44 export async function op1(
                         ~~~

src/api/operations.ts:53:17 - error TS2323: Cannot redeclare exported variable '_op1Send'.

53 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:53:17 - error TS2393: Duplicate function implementation.

53 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:66:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'.

66 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:66:23 - error TS2393: Duplicate function implementation.

66 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:77:23 - error TS2323: Cannot redeclare exported variable 'op1'.

77 export async function op1(
                         ~~~

src/api/operations.ts:77:23 - error TS2393: Duplicate function implementation.

77 export async function op1(
                         ~~~

src/api/operations.ts:86:17 - error TS2323: Cannot redeclare exported variable '_op1Send'.

86 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:86:17 - error TS2393: Duplicate function implementation.

86 export function _op1Send(
                   ~~~~~~~~

src/api/operations.ts:99:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'.

99 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:99:23 - error TS2393: Duplicate function implementation.

99 export async function _op1Deserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:110:23 - error TS2323: Cannot redeclare exported variable 'op1'.

110 export async function op1(
                          ~~~

src/api/operations.ts:110:23 - error TS2393: Duplicate function implementation.

110 export async function op1(
                          ~~~

src/api/operations.ts:119:17 - error TS2323: Cannot redeclare exported variable '_op1Send'.

119 export function _op1Send(
                    ~~~~~~~~

src/api/operations.ts:119:17 - error TS2393: Duplicate function implementation.

119 export function _op1Send(
                    ~~~~~~~~

src/api/operations.ts:132:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'.

132 export async function _op1Deserialize(
                          ~~~~~~~~~~~~~~~

src/api/operations.ts:132:23 - error TS2393: Duplicate function implementation.

132 export async function _op1Deserialize(
                          ~~~~~~~~~~~~~~~

src/api/operations.ts:143:23 - error TS2323: Cannot redeclare exported variable 'op1'.

143 export async function op1(
                          ~~~

src/api/operations.ts:143:23 - error TS2393: Duplicate function implementation.

143 export async function op1(
                          ~~~

src/api/operations.ts:152:17 - error TS2323: Cannot redeclare exported variable '_op1Send'.

152 export function _op1Send(
                    ~~~~~~~~

src/api/operations.ts:152:17 - error TS2393: Duplicate function implementation.

152 export function _op1Send(
                    ~~~~~~~~

src/api/operations.ts:165:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'.

165 export async function _op1Deserialize(
                          ~~~~~~~~~~~~~~~

src/api/operations.ts:165:23 - error TS2393: Duplicate function implementation.

165 export async function _op1Deserialize(
                          ~~~~~~~~~~~~~~~

src/api/operations.ts:176:23 - error TS2323: Cannot redeclare exported variable 'op1'.

176 export async function op1(
                          ~~~

src/api/operations.ts:176:23 - error TS2393: Duplicate function implementation.

176 export async function op1(
                          ~~~

src/fooClient.ts:33:3 - error TS2393: Duplicate function implementation.

33   op1(
     ~~~

src/fooClient.ts:40:3 - error TS2393: Duplicate function implementation.

40   op1(
     ~~~

src/fooClient.ts:47:3 - error TS2393: Duplicate function implementation.

47   op1(
     ~~~

src/fooClient.ts:54:3 - error TS2393: Duplicate function implementation.

54   op1(
     ~~~

src/fooClient.ts:61:3 - error TS2393: Duplicate function implementation.

61   op1(
     ~~~


Found 35 errors in 2 files.

Errors  Files
    30  src/api/operations.ts:20
     5  src/fooClient.ts:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant