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

Fix an issue with double forward reference #458

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Jun 3, 2020

This commit fixes an issue where resolving a forward reference could
throw a ConcurrentModificationException when the resolution would
need to create another forward reference. For example, when applying
a trait to a shape defined in another file without importing the trait
or using its fully qualified shape ID, as done when applying a prelude
trait.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit fixes an issue where resolving a forward reference could
throw a ConcurrentModificationException when the resolution would
need to create another forward reference. For example, when applying
a trait to a shape defined in another file without importing the trait
or using its fully qualified shape ID, as done when applying a prelude
trait.
@kstich kstich requested a review from mtdowling June 3, 2020 18:57
@kstich kstich merged commit f1d6487 into smithy-lang:master Jun 3, 2020
@kstich kstich deleted the prelude_double_forward_fix branch June 3, 2020 19:51
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.

2 participants