[Module] Remove DataDescription's writable field.
It was redundant, as data object declarations also have a writable field, so just use that, avoiding the need for users to declare the same thing twice. Fixes #456.
This commit is contained in:
@@ -507,6 +507,7 @@ where
|
||||
}
|
||||
Some(self.backend.define_data(
|
||||
&info.decl.name,
|
||||
info.decl.writable,
|
||||
data_ctx,
|
||||
&ModuleNamespace::<B> {
|
||||
contents: &self.contents,
|
||||
|
||||
Reference in New Issue
Block a user