-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Describe the bug
Running dprint fmt on the on some code twice, leads to different output each time.
Input Code
const createTestData = () =>
function*() {
const startingFrom = yield* Effect.map(DateTime.now, now =>
DateTime.startOf(now, 'day'))
return HashSet.make(DateTime.toEpochMillis(startingFrom))
}Expected Output
const createTestData = () =>
function*() {
const startingFrom = yield* Effect.map(DateTime.now, now =>
DateTime.startOf(now, 'day'))
return HashSet.make(DateTime.toEpochMillis(startingFrom))
}Actual Output
first time:
const createTestData = () =>
function*() {
const startingFrom = yield* Effect.map(DateTime.now, now =>
DateTime.startOf(now, 'day'))
return HashSet
.make(DateTime.toEpochMillis(startingFrom))
}second time:
const createTestData = () =>
function*() {
const startingFrom = yield* Effect.map(DateTime.now, now =>
DateTime.startOf(now, 'day'))
return HashSet
.make(DateTime
.toEpochMillis(startingFrom))
}danielo515, arijoon, SorooshGb and olejorgenb
Metadata
Metadata
Assignees
Labels
No labels