lang/funcs: Fix broken test for lookup function
lang/funcs: Fix broken test for lookup function

When the value we're looking in has an object type, we need to know the
key in order to decide the result type. Therefore an object lookup with
an unknown key must produce cty.DynamicVal, not an unknown value with a
known type.

ewbankkit/terraform,iljaskevic/terraform,tommynsong/terraform,youhong316/terraform,rnaveiras/terraform,apparentlymart/terraform,pdecat/terraform,ewbankkit/terraform,brandontosch/terraform,pradeepbhadani/terraform,pdecat/terraform,apparentlymart/terraform,luis-silva/terraform,iljaskevic/terraform,VladRassokhin/terraform,mattray/terraform,youhong316/terraform,VladRassokhin/terraform,hashicorp/terraform,pryorda/terraform,brandontosch/terraform,apparentlymart/terraform,rnaveiras/terraform,iljaskevic/terraform,brandontosch/terraform,luis-silva/terraform,VladRassokhin/terraform,mattray/terraform,brandontosch/terraform,pradeepbhadani/terraform,gechr/terraform,heimweh/terraform,brandontosch/terraform,pdecat/terraform,rnaveiras/terraform,nlamirault/terraform,heimweh/terraform,drebes/terraform,hashicorp/terraform,ewbankkit/terraform,heimweh/terraform,luis-silva/terraform,nlamirault/terraform,youhong316/terraform,mattray/terraform,luis-silva/terraform,hashicorp/terraform,tommynsong/terraform,nlamirault/terraform,drebes/terraform,pryorda/terraform,apparentlymart/terraform,heimweh/terraform,gechr/terraform,pdecat/terraform,gechr/terraform,ewbankkit/terraform,apparentlymart/terraform,mattray/terraform,tommynsong/terraform,VladRassokhin/terraform,iljaskevic/terraform,pryorda/terraform,youhong316/terraform,drebes/terraform,heimweh/terraform,pradeepbhadani/terraform,drebes/terraform