Merge: modelize: mark properties broken if they are a bad introduction (bad redef)
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 20:17:28 +0000 (16:17 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 20:17:28 +0000 (16:17 -0400)
commitd80492bba2d20142f40f5409bc7e4bbce9a1dca0
treec31b202d2d7d78f6a0f56431f0a1aaaaa9b803c4
parentc5b902f8e9d18f13e6c3c13c92832cb68a4b9f03
parent5cb76494e5157a548f83c73382843e1e7b6faed0
Merge: modelize: mark properties broken if they are a bad introduction (bad redef)

Some broken redefinitions of properties caused the modelize phase to crash.

An infrastructure exists to prevent the use of such broken entities: the `is_broken` attributes. But they have to be set and used to be effective.

So this PR sets the `is_broken` flag on some forgotten error paths, then prevents further processing if `is_broken` is set.

Pull-Request: #2078
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>