You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Compiler/FSComp.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1559,7 +1559,7 @@ featureMatchNotAllowedForUnionCaseWithNoData,"Pattern match discard is not allow
1559
1559
featureCSharpExtensionAttributeNotRequired,"Allow implicit Extension attribute on declaring types, modules"
1560
1560
featureErrorForNonVirtualMembersOverrides,"Raises errors for non-virtual members overrides"
1561
1561
featureWarningWhenInliningMethodImplNoInlineMarkedFunction,"Raises warnings when 'let inline ... =' is used together with [<MethodImpl(MethodImplOptions.NoInlining)>] attribute. Function is not getting inlined."
1562
-
featureArithmeticInLiterals,"Allow arithmetic and logical operations in literals"
1562
+
featureArithmeticInLiterals,"Arithmetic and logical operations in literals, enum definitions and attributes"
1563
1563
featureErrorReportingOnStaticClasses,"Error reporting on static classes"
1564
1564
featureTryWithInSeqExpressions,"Support for try-with in sequence expressions"
1565
1565
featureWarningWhenCopyAndUpdateRecordChangesAllFields,"Raises warnings when an copy-and-update record expression changes all fields of a record."
| SpecificBinopExpr g g.unchecked_multiply_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9731
-
EvalArithBinOp (Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*))(EvalAttribArgExpr g arg1)(EvalAttribArgExpr g arg2)
9732
-
| SpecificBinopExpr g g.unchecked_division_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9733
-
EvalArithBinOp ((/),(/),(/),(/),(/),(/),(/),(/),(/),(/))(EvalAttribArgExpr g arg1)(EvalAttribArgExpr g arg2)
9734
-
| SpecificBinopExpr g g.unchecked_modulus_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9735
-
EvalArithBinOp ((%),(%),(%),(%),(%),(%),(%),(%),(%),(%))(EvalAttribArgExpr g arg1)(EvalAttribArgExpr g arg2)
9736
-
| SpecificBinopExpr g g.bitwise_shift_left_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9737
-
EvalArithShiftOp ((<<<),(<<<),(<<<),(<<<),(<<<),(<<<),(<<<),(<<<))(EvalAttribArgExpr g arg1)(EvalAttribArgExpr g arg2)
9738
-
| SpecificBinopExpr g g.bitwise_shift_right_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9739
-
EvalArithShiftOp ((>>>),(>>>),(>>>),(>>>),(>>>),(>>>),(>>>),(>>>))(EvalAttribArgExpr g arg1)(EvalAttribArgExpr g arg2)
9740
-
| SpecificBinopExpr g g.bitwise_and_vref (arg1, arg2)when arithmeticInLiteralsEnabled ->
9741
-
letv1= EvalAttribArgExpr g arg1
9732
+
| SpecificBinopExpr g g.unchecked_multiply_vref (arg1, arg2)->
9733
+
checkFeature()
9734
+
EvalArithBinOp (Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*), Checked.(*))(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1)(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
9735
+
| SpecificBinopExpr g g.unchecked_division_vref (arg1, arg2)->
9736
+
checkFeature()
9737
+
EvalArithBinOp ((/),(/),(/),(/),(/),(/),(/),(/),(/),(/))(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1)(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
9738
+
| SpecificBinopExpr g g.unchecked_modulus_vref (arg1, arg2)->
9739
+
checkFeature()
9740
+
EvalArithBinOp ((%),(%),(%),(%),(%),(%),(%),(%),(%),(%))(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1)(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
9741
+
| SpecificBinopExpr g g.bitwise_shift_left_vref (arg1, arg2)->
9742
+
checkFeature()
9743
+
EvalArithShiftOp ((<<<),(<<<),(<<<),(<<<),(<<<),(<<<),(<<<),(<<<))(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1)(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
9744
+
| SpecificBinopExpr g g.bitwise_shift_right_vref (arg1, arg2)->
9745
+
checkFeature()
9746
+
EvalArithShiftOp ((>>>),(>>>),(>>>),(>>>),(>>>),(>>>),(>>>),(>>>))(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1)(EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
9747
+
| SpecificBinopExpr g g.bitwise_and_vref (arg1, arg2)->
9748
+
checkFeature()
9749
+
letv1= EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg1
9742
9750
9743
9751
match v1 with
9744
9752
| IntegerConstExpr ->
9745
-
EvalArithBinOp ((&&&),(&&&),(&&&),(&&&),(&&&),(&&&),(&&&),(&&&), ignore2, ignore2) v1 (EvalAttribArgExpr g arg2)
9753
+
EvalArithBinOp ((&&&),(&&&),(&&&),(&&&),(&&&),(&&&),(&&&),(&&&), ignore2, ignore2) v1 (EvalAttribArgExpr SuppressLanguageFeatureCheck.Yes g arg2)
0 commit comments