compiler: simplify convert.To* processing

With inlining there is no need for special logic in compiler.
This commit is contained in:
Evgeniy Stratonikov 2021-03-02 14:43:58 +03:00
parent e754ca62db
commit 56fe6574c9
3 changed files with 4 additions and 14 deletions

View file

@ -327,6 +327,5 @@ func canInline(s string) bool {
return false
}
return !strings.HasPrefix(s[len(interopPrefix):], "/neogointernal") &&
!strings.HasPrefix(s[len(interopPrefix):], "/util") &&
!strings.HasPrefix(s[len(interopPrefix):], "/convert")
!strings.HasPrefix(s[len(interopPrefix):], "/util")
}