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))
}
Describe the bug
Running
dprint fmton the on some code twice, leads to different output each time.Input Code
Expected Output
Actual Output
first time:
second time: