diff options
| author | verylazyguy <verylazyguy@hotmail.com> | 2019-06-17 12:53:56 -0400 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2019-07-03 16:09:49 -0400 |
| commit | 13a78e5478e7f3f443b2b487ebc5b1ec0e1f1fb4 (patch) | |
| tree | 1110f0f509a142bd0cf4723c5b29974ed45cfc17 /python | |
| parent | f942ccf4af2e12ed2a78ce1f55708c39ef461185 (diff) | |
- fix a type error when trying to create a function type with a parameter that has a location
Diffstat (limited to 'python')
| -rw-r--r-- | python/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
