@error
model Error {
code: int32;
message: string;
}
@pagedResult
model Bar {
@items
lists: string[];
@TypeSpec.nextLink
nextLink: string;
}
model Child extends Bar {
message: string
}
@post
op test(): Error | Child;
the itemsSegments and nextLinkSegments are correct, but the method.nextLinkPath and method.response.resultPath is empty string.

Describe the bug
For this tsp
the itemsSegments and nextLinkSegments are correct, but the method.nextLinkPath and method.response.resultPath is empty string.

Reproduction
N/A
Checklist