Skip to content

Fix an issue with double forward reference#458

Merged
kstich merged 1 commit intosmithy-lang:masterfrom
kstich:prelude_double_forward_fix
Jun 3, 2020
Merged

Fix an issue with double forward reference#458
kstich merged 1 commit intosmithy-lang:masterfrom
kstich:prelude_double_forward_fix

Conversation

@kstich
Copy link
Copy Markdown
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