Skip to content
Commit 7cc3a6ea authored by Russell Cohen's avatar Russell Cohen
Browse files

Fix compilation error in generate code caused by name collision (#3175)

## Motivation and Context
If you had a model like this:
```smithy
   @http(uri: "/SomeOperation2", method: "GET")
            operation GetThing {
                // input: GetThingInput,
                output: GetThingOutput
            }
```

But then nested in some other API you did something like this:
```smithy
            list GetThings {
                member: GetThingOutput
            }
```

Code would fail to compile because we generated the same method
signature for two different types.

## Description
<!--- Describe your changes in detail -->

## Testing
- [x] fixes minimal reproducer

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent ccab4b69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment