Allow seeing include $(x) when there is an include_top comment
Previously, seeing anything other than an interpolate variable was not allowed. Bug: 226974242 Test: go test Change-Id: I48a060f9a3fd19cd67a114d2cb0756ab2be25ce1
This commit is contained in:
@@ -83,7 +83,7 @@ func (im inheritedStaticModule) needsLoadCheck() bool {
|
||||
}
|
||||
|
||||
type inheritedDynamicModule struct {
|
||||
path interpolateExpr
|
||||
path starlarkExpr
|
||||
candidateModules []*moduleInfo
|
||||
loadAlways bool
|
||||
location ErrorLocation
|
||||
@@ -120,7 +120,7 @@ func (i inheritedDynamicModule) emitSelect(gctx *generationContext) {
|
||||
}
|
||||
|
||||
func (i inheritedDynamicModule) pathExpr() starlarkExpr {
|
||||
return &i.path
|
||||
return i.path
|
||||
}
|
||||
|
||||
func (i inheritedDynamicModule) needsLoadCheck() bool {
|
||||
|
Reference in New Issue
Block a user