update deps and move to golang/dep

Closes #28
This commit is contained in:
Andrey Nering
2017-06-14 14:00:36 -03:00
parent ba494702ed
commit e97fd65cd3
10 changed files with 326 additions and 183 deletions

View File

@@ -149,8 +149,8 @@ func (s *simplifier) inlineSimpleParams(x ArithmExpr) ArithmExpr {
if pe == nil || !ValidName(pe.Param.Value) {
return x
}
if pe.Indirect || pe.Length || pe.Width || pe.Key != nil ||
pe.Slice != nil || pe.Repl != nil || pe.Exp != nil {
if pe.Indirect || pe.Length || pe.Width || pe.Slice != nil ||
pe.Repl != nil || pe.Exp != nil {
return x
}
if pe.Index != nil {