A Democratic candidate for Massachusetts attorney general says she is in favor of a ballot question repealing the state’s casino law. The statement from former assistant attorney general Maura Healy puts her at odds with her former boss.

Healey is one of two Democrats running to be Massachusetts’ top lawyer. In a statement, she says there are stronger ways to build an economy than with casinos. And she’s backing a proposed ballot question to repeal the 2011 law authorizing three resort casinos and one slots parlor in the state.

Healey says she disagrees with the determination made by the state’s current attorney general and her one-time employer, Martha Coakley. Coakley says the ballot question is unconstitutional, because it takes property from companies who’ve already invested millions in the casino application process.

Asked to comment, Coakley’s office restated its finding that the question is unconstitutional. But it notes the “most important thing is to get the right result” and will work cooperatively with all parties challenging that opinion in court.

Maura Healey’s opponent in the Democratic primary, Warren Tolman, could not be reached for comment.