aboutsummaryrefslogtreecommitdiffstats
path: root/context.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-02-27 01:38:08 -0800
committerDan Willemsen <dwillemsen@google.com>2018-02-27 01:49:49 -0800
commite6d45fe39f1b200beb37ff5f3c902dd24dc680bf (patch)
treeb6c0db03fccc57100a5730d70877a54bd37aa7a5 /context.go
parent77dc4de53e0fe30ad27a340f00868b014b41d2eb (diff)
downloadandroid_build_blueprint-e6d45fe39f1b200beb37ff5f3c902dd24dc680bf.tar.gz
android_build_blueprint-e6d45fe39f1b200beb37ff5f3c902dd24dc680bf.tar.bz2
android_build_blueprint-e6d45fe39f1b200beb37ff5f3c902dd24dc680bf.zip
Support go1.10
Add stubs for the new testDeps interface functions. Also removes testing for 1.8. Change-Id: Ice58cca20658d905df9fb87e822d7861abf60976
Diffstat (limited to 'context.go')
-rw-r--r--context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/context.go b/context.go
index ebe4e12..f131024 100644
--- a/context.go
+++ b/context.go
@@ -1097,7 +1097,7 @@ func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scann
Pos: assignment.EqualsPos,
}
default:
- panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type))
+ panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type()))
}
}
}
@@ -1115,7 +1115,7 @@ func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position
Pos: assignment.EqualsPos,
}
default:
- panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type))
+ panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type()))
}
}
}