From 13a78e5478e7f3f443b2b487ebc5b1ec0e1f1fb4 Mon Sep 17 00:00:00 2001 From: verylazyguy Date: Mon, 17 Jun 2019 12:53:56 -0400 Subject: - fix a type error when trying to create a function type with a parameter that has a location --- python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/types.py') diff --git a/python/types.py b/python/types.py index 67976a33..8880d152 100644 --- a/python/types.py +++ b/python/types.py @@ -668,7 +668,7 @@ class Type(object): param_buf[i].defaultLocation = True else: param_buf[i].defaultLocation = False - param_buf[i].location.type = params[i].location.type + param_buf[i].location.type = params[i].location.source_type param_buf[i].location.index = params[i].location.index param_buf[i].location.storage = params[i].location.storage else: -- cgit v1.3.1