@@ -25489,10 +25489,6 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
2548925489 return true;
2549025490 }
2549125491 }
25492- case 'TSInstantiationExpression': {
25493- const innerExpr = expr.get('expression');
25494- return isReorderableExpression(builder, innerExpr, allowLocalIdentifiers);
25495- }
2549625492 case 'RegExpLiteral':
2549725493 case 'StringLiteral':
2549825494 case 'NumericLiteral':
@@ -32159,7 +32155,6 @@ const EnvironmentConfigSchema = zod.z.object({
3215932155 enableCustomTypeDefinitionForReanimated: zod.z.boolean().default(false),
3216032156 hookPattern: zod.z.string().nullable().default(null),
3216132157 enableTreatRefLikeIdentifiersAsRefs: zod.z.boolean().default(true),
32162- enableTreatSetIdentifiersAsStateSetters: zod.z.boolean().default(false),
3216332158 lowerContextAccess: ExternalFunctionSchema.nullable().default(null),
3216432159 validateNoVoidUseMemo: zod.z.boolean().default(false),
3216532160 validateNoDynamicallyCreatedComponentsOrHooks: zod.z.boolean().default(false),
@@ -41670,9 +41665,7 @@ function computeSignatureForInstruction(context, env, instr) {
4167041665 }
4167141666 case 'PropertyStore':
4167241667 case 'ComputedStore': {
41673- const mutationReason = value.kind === 'PropertyStore' &&
41674- value.property === 'current' &&
41675- value.object.identifier.type.kind === 'Type'
41668+ const mutationReason = value.kind === 'PropertyStore' && value.property === 'current'
4167641669 ? { kind: 'AssignCurrentProperty' }
4167741670 : null;
4167841671 effects.push({
@@ -48015,16 +48008,9 @@ function* generateInstructionTypes(env, names, instr) {
4801548008 }
4801648009 case 'CallExpression': {
4801748010 const returnType = makeType();
48018- let shapeId = null;
48019- if (env.config.enableTreatSetIdentifiersAsStateSetters) {
48020- const name = getName(names, value.callee.identifier.id);
48021- if (name.startsWith('set')) {
48022- shapeId = BuiltInSetStateId;
48023- }
48024- }
4802548011 yield equation(value.callee.identifier.type, {
4802648012 kind: 'Function',
48027- shapeId,
48013+ shapeId: null ,
4802848014 return: returnType,
4802948015 isConstructor: false,
4803048016 });
0 commit comments