Merge: contracts: fix usage of contract with `--erasure`
authorJean Privat <jean@pryen.org>
Wed, 2 Oct 2019 18:38:15 +0000 (14:38 -0400)
committerJean Privat <jean@pryen.org>
Wed, 2 Oct 2019 18:38:15 +0000 (14:38 -0400)
commit549a9e305f4fe6ab911ce9e0a6bdec0b781a523e
treed202e54d9ae10d72fd9d9c2e8730c23d6973383c
parent80fb0aa1ead1e310be130f5f8c345c0159a94dd2
parentaefcc99be31e95c86878bb9a934b085233e01f6b
Merge: contracts: fix usage of contract with `--erasure`

Moving the check if a contract is needed in the visitor to avoid the property creation without definition.

Pull-Request: #2798