diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-06 18:44:26 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-06 18:55:46 +0100 |
| commit | ceaec61a833bf78e2aa2a1feb964e1915d3f465b (patch) | |
| tree | cfeaf07cbd501e76eb957d0eca14f0fc297b2eb4 /prog/minimization.go | |
| parent | f40330afce14e3dab61ec823f106b7fb396f070d (diff) | |
prog: export Type.DefaultArg
It's effectively exported anyway.
So export it the proper way.
Diffstat (limited to 'prog/minimization.go')
| -rw-r--r-- | prog/minimization.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/minimization.go b/prog/minimization.go index 1762bbbae..5f3e9f604 100644 --- a/prog/minimization.go +++ b/prog/minimization.go @@ -183,7 +183,7 @@ func minimizeInt(ctx *minimizeArgsCtx, arg Arg, path string) bool { return false } a := arg.(*ConstArg) - def := arg.Type().makeDefaultArg().(*ConstArg) + def := arg.Type().DefaultArg().(*ConstArg) if a.Val == def.Val { return false } |
