[SR-12089] Swift 5.2 snapshot: didSet not called #54525
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
property wrappers
Feature: property wrappers
Attachment: Download
Environment
Xcode Version 11.2.1 (11B500)
Toolchain: Swift 5.2 Snapshot 2020-01-25 (a)
Additional Detail from JIRA
md5: 21c46ed73b44e201c5901af9e79428cc
is duplicated by:
.toggle
on a wrapped boolean no longer calls didSetrelates to:
Issue Description:
Whilst running the Swift 5.2 toolchain 2020-01-25 I noticed that didSet did not get called correctly on a propertyWrapper backed property.
I've included an example project to illustrate the issue.
Reproduction steps
navigate to contentView.swift
add a breakpoint to line 24
run the app in simulator
add new expense by pressing the + button
fill in the form
click save
notice that the breakpoint isn't called
this is not the case with included swift in xcode
The text was updated successfully, but these errors were encountered: