Skip to content

Commit

Permalink
Prepare for possible future v1.13.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
apparentlymart committed Mar 16, 2023
1 parent 180e0b5 commit 2d47ad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.13.2 (Unreleased)


# 1.13.1 (March 16, 2023)

* `function`: If a function parameter that doesn't declare `AllowDynamicType: true` recieves a `cty.DynamicVal`, the function system would previously just skip calling the function's `Type` callback and treat the result type as unknown. However, the `Call` method was then still calling a function's `Impl` callback anyway, which violated the usual contract that `Type` acts as a guard for `Impl` so `Impl` doesn't have to repeat type-checking already done in `Type`: it's only valid to call `Impl` if `Type` was previosly called _and_ it succeeded.
Expand Down

0 comments on commit 2d47ad3

Please sign in to comment.