Skip to content

Commit 51f5b85

Browse files
authored
Merge pull request #233 from fsprojects/copilot/sub-pr-231-again
Fix Fable compatibility: guard `getIterator` obsolete attribute and complete #if FABLE_COMPILER cleanup
2 parents 0afeff0 + 846c5c1 commit 51f5b85

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/FSharp.Control.AsyncSeq/AsyncSeq.fsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,9 @@ module AsyncSeq =
526526
/// Returns an async sequence which contains no contiguous duplicate elements.
527527
val distinctUntilChanged : source:AsyncSeq<'T> -> AsyncSeq<'T> when 'T : equality
528528

529+
#if FABLE_COMPILER
529530
[<System.Obsolete("Use .GetEnumerator directly") >]
531+
#endif
530532
val getIterator : source:AsyncSeq<'T> -> (unit -> Async<'T option>)
531533

532534
#if !FABLE_COMPILER

tests/fable/package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)