[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:
@@ -193,11 +193,11 @@ impl Backend for FaerieBackend {
|
||||
fn define_data(
|
||||
&mut self,
|
||||
name: &str,
|
||||
_writable: bool,
|
||||
data_ctx: &DataContext,
|
||||
namespace: &ModuleNamespace<Self>,
|
||||
) -> ModuleResult<FaerieCompiledData> {
|
||||
let &DataDescription {
|
||||
writable: _writable,
|
||||
ref init,
|
||||
ref function_decls,
|
||||
ref data_decls,
|
||||
|
||||
Reference in New Issue
Block a user