pulumi/pkg/codegen/hcl2/model
Pat Gavlin 05032d6850 [codegen/hcl2] Fix assignability from dynamic.
Types like output(T), promise(T), and union(T_0, ..., T_N) should be
assignable from dynamic if they contain an element type that is
assignable from dynamic.

This allows consumers to use the following code to check if some type
behaves like the dynamic type w.r.t. conversions:

```
if t.AssignableFrom(model.DynamicType) {
}
```

Fixes #4703.
2020-05-26 08:21:09 -07:00
..
format Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
attribute.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
binder_expression.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
binder_expression_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
block.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
body.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
diagnostics.go Fix a misspelling 2020-05-01 11:04:44 -07:00
expression.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
functions.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
printer.go [codegen/hcl] Fix binop printing. (#4537) 2020-04-30 13:44:05 -07:00
scope.go Various codegen updates. (#4424) 2020-04-16 16:44:34 -07:00
spec.md Add an HCL2 static typechecker and semantic model. (#4087) 2020-03-18 09:28:57 -07:00
traversable.go [codegen/hcl2] Separate binding and typechecking. (#4483) 2020-04-24 08:52:52 -07:00
type.go [codegen/hcl2] Fix assignability from dynamic. 2020-05-26 08:21:09 -07:00
type_collection.go HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
type_eventuals.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_list.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_map.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_none.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_object.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_opaque.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_output.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_promise.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_scope.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
type_set.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_test.go [codegen/hcl2] Fix assignability from dynamic. 2020-05-26 08:21:09 -07:00
type_tuple.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
type_union.go [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
utilities.go [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
visitor.go Fix Python input property names. 2020-04-21 13:55:33 -07:00