Skip to content

Commit

Permalink
Fix a deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Jan 11, 2022
1 parent effac87 commit dc0f36a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object PropTypes {
new Multiple(
raw.nonEmptyChildren.toList.map(new Single("children", _)) :+
// see https://github.com/lampepfl/dotty/issues/14244
new Multiple(raw.props.asInstanceOf[AnyDict].toIterable.map { case (k, v) => new Single(k, v) })
new Multiple(raw.props.asInstanceOf[AnyDict].toSeq.map { case (k, v) => new Single(k, v) })
)
}

Expand Down

0 comments on commit dc0f36a

Please sign in to comment.