Skip to content

turn deprecation warnings into errors #585

@corakingdon

Description

@corakingdon

Steps:

  1. Release v0.10.0 with the following depreciation warnings (using either @deprecate or Base.depwarn
  2. Release v1.0.0 where these now error, mostly with a MethodException since methods will be removed. This will require cleaning out the deprecated code, any helper functions for deprecation warnings, and any tests of the now removed code.

Deprecations include the following (also search for Base.depwarn and @deprecate)

  • Integer indexing into a TimestepArray at the time index position with getindex or setindex!
  • using the functions is_time or is_timestep
  • indexing into a simulation instance with square brackets
  • changes that need to be made to set_param!
  • type parameterization in @Defcomp New syntax in defcomp for datum type parameterization #638
  • renaming marginal to modified in MarginalModel's
  • change replace_comp! to replace! w/ julia argument convention (use pair)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions