v1.3.0 release: graceful-release fix, quickstart template + demo, documentation accuracy pass
- Fixed: SynthesizerBase subclasses' release/free now dispatch correctly (gated synths were hard-freed instead of released). - New: quickstart project template + LyrebirdQuickstartDemo. - Docs: every example typechecked or provably illustrative (426->542); ~20 wrong-API examples fixed; root docs brought under the compile guard. - Fixed: NRT/Score demo Package.swift build from terminal again. See RELEASES.md for details.
This commit is contained in:
@@ -8,6 +8,15 @@ import Testing
|
||||
import Foundation
|
||||
@testable @_spi(LyrebirdExtensions) import LyrebirdSynth
|
||||
|
||||
/// Golden-value check for `docs/stdlib/theory.md`'s examples.
|
||||
///
|
||||
/// `scripts/check-doc-snippets.sh` now typechecks 17 of that doc's 21 fences, so this suite
|
||||
/// is no longer the thing keeping them *compiling*. It earns its place on the other half:
|
||||
/// the doc writes results as trailing comments (`Interval.majorThird.semitones // 4`) and a
|
||||
/// typecheck cannot see a `// 4` silently become a lie. Same division of labour as
|
||||
/// `DistributionKindGoldenValueTests`.
|
||||
///
|
||||
/// When an assertion here fails, fix `docs/stdlib/theory.md` and this suite together.
|
||||
@Suite("doc snippet check — docs/stdlib/theory.md examples compile + match")
|
||||
struct _DocTheorySnippetCheckTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user