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

gohcl: Fix docs about supported types for blocks. #507

Merged
merged 1 commit into from Mar 7, 2022
Merged

gohcl: Fix docs about supported types for blocks. #507

merged 1 commit into from Mar 7, 2022

Commits on Mar 6, 2022

  1. gohcl: Fix docs about supported types for blocks.

    This commit fixes a clause in the `gohcl` package documentation which incorrectly
    states that HCL blocks could be decoded into `hcl.Body` and `hcl.Block` types.
    
    It also removes some code paths in `decodeBlockToValue()` that _appeared_ to
    handled these cases. In practice, these paths were unreachable anyway due to
    various reflection-based type checks made before `decodeBlockToValue()` is
    called.
    jmalloc committed Mar 6, 2022
    Copy the full SHA
    163105d View commit details
    Browse the repository at this point in the history