Skip to content

Commit

Permalink
[compiler][ez] Fix main (bad rebase / amend for facebook#32095) (face…
Browse files Browse the repository at this point in the history
…book#32160)

See title: this fixes test cases broken by
facebook#32095 adding instead of moving
new test fixtures
  • Loading branch information
mofeiZ authored Jan 22, 2025
1 parent b83090f commit a0b91fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ addObject(BUILTIN_SHAPES, BuiltInMixedReadonlyId, [
'flatMap',
addFunction(BUILTIN_SHAPES, [], {
positionalParams: [],
restParam: Effect.Read,
restParam: Effect.ConditionallyMutate,
returnType: {kind: 'Object', shapeId: BuiltInArrayId},
calleeEffect: Effect.ConditionallyMutate,
returnValueKind: ValueKind.Mutable,
Expand All @@ -580,7 +580,7 @@ addObject(BUILTIN_SHAPES, BuiltInMixedReadonlyId, [
'filter',
addFunction(BUILTIN_SHAPES, [], {
positionalParams: [],
restParam: Effect.Read,
restParam: Effect.ConditionallyMutate,
returnType: {kind: 'Object', shapeId: BuiltInArrayId},
calleeEffect: Effect.ConditionallyMutate,
returnValueKind: ValueKind.Mutable,
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a0b91fb

Please sign in to comment.