[FS-1142] Extended numeric literal #17242
Build #20240524.35 had test failures
Details
- Failed: 28 (0.09%)
- Passed: 29,543 (95.67%)
- Other: 1,308 (4.24%)
- Total: 30,879
Annotations
Check failure on line 6118 in Build log
azure-pipelines / fsharp-ci
Build log #L6118
(NETCORE_ENGINEERING_TELEMETRY=Test) Error running tests (exit code '1').
Check failure on line 6120 in Build log
azure-pipelines / fsharp-ci
Build log #L6120
Bash exited with code '1'.
Check failure on line 7053 in Build log
azure-pipelines / fsharp-ci
Build log #L7053
(NETCORE_ENGINEERING_TELEMETRY=Test) Failure running tests
Check failure on line 7054 in Build log
azure-pipelines / fsharp-ci
Build log #L7054
Cmd.exe exited with code '1'.
Check failure on line 1 in ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
azure-pipelines / fsharp-ci
ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
NUnit.Framework.AssertionException : Mismatched error message:
Expecting: (Error 1156, Line 1, Col 9, Line 1, Col 14, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
Actual: (Error 3350, Line 1, Col 9, Line 1, Col 14, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
String lengths are both 262. Strings differ at index 7.
Expected: "(Error 1156, Line 1, Col 9, Line 1, Col 14, "Feature 'Undersc..."
But was: "(Error 3350, Line 1, Col 9, Line 1, Col 14, "Feature 'Undersc..."
------------------^
Raw output
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
at NUnit.Framework.Assert.AreEqual(Object expected, Object actual, String message, Object[] args)
at FSharp.Test.Compiler.Assertions.assertErrors@1496.Invoke(String actual, String expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1498
at Microsoft.FSharp.Collections.ListModule.loop@248-27[T1,T2](FSharpFunc`3 f, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 252
at Microsoft.FSharp.Collections.ListModule.Iterate2[T1,T2](FSharpFunc`2 action, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 246
at FSharp.Test.Compiler.Assertions.assertErrors(String what, Int32 libAdjust, FSharpList`1 source, FSharpList`1 expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1496
at FSharp.Test.Compiler.Assertions.assertResultsCategory(String what, FSharpFunc`2 selector, FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1531
at FSharp.Test.Compiler.Assertions.withResultsIgnoreNativeRange(FSharpList`1 expectedResults, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1535
at FSharp.Test.Compiler.Assertions.withDiagnostics(FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1553
at FSharp.Test.Compiler.Assertions.withSingleDiagnostic(ErrorType expected_0, Line expected_1, Col expected_2, Line expected_3, Col expected_4, String expected_5, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1556
at ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8(String literal) in /home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/ErrorMessages/InvalidNumericLiteralTests.fs:line 42
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 1 in ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
azure-pipelines / fsharp-ci
ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
NUnit.Framework.AssertionException : Mismatched error message:
Expecting: (Error 1156, Line 1, Col 9, Line 1, Col 14, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
Actual: (Error 3350, Line 1, Col 9, Line 1, Col 14, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
String lengths are both 262. Strings differ at index 7.
Expected: "(Error 1156, Line 1, Col 9, Line 1, Col 14, "Feature 'Undersc..."
But was: "(Error 3350, Line 1, Col 9, Line 1, Col 14, "Feature 'Undersc..."
------------------^
Raw output
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
at NUnit.Framework.Assert.AreEqual(Object expected, Object actual, String message, Object[] args)
at FSharp.Test.Compiler.Assertions.assertErrors@1496.Invoke(String actual, String expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1498
at Microsoft.FSharp.Collections.ListModule.loop@248-27[T1,T2](FSharpFunc`3 f, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 252
at Microsoft.FSharp.Collections.ListModule.Iterate2[T1,T2](FSharpFunc`2 action, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 246
at FSharp.Test.Compiler.Assertions.assertErrors(String what, Int32 libAdjust, FSharpList`1 source, FSharpList`1 expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1496
at FSharp.Test.Compiler.Assertions.assertResultsCategory(String what, FSharpFunc`2 selector, FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1531
at FSharp.Test.Compiler.Assertions.withResultsIgnoreNativeRange(FSharpList`1 expectedResults, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1535
at FSharp.Test.Compiler.Assertions.withDiagnostics(FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1553
at FSharp.Test.Compiler.Assertions.withSingleDiagnostic(ErrorType expected_0, Line expected_1, Col expected_2, Line expected_3, Col expected_4, String expected_5, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1556
at ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8(String literal) in /home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/ErrorMessages/InvalidNumericLiteralTests.fs:line 42
at InvokeStub_Numeric Literals.Invalid Numeric Literals In F#8(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 1 in ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
azure-pipelines / fsharp-ci
ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
NUnit.Framework.AssertionException : Mismatched error message:
Expecting: (Error 1156, Line 1, Col 9, Line 1, Col 22, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
Actual: (Error 3350, Line 1, Col 9, Line 1, Col 22, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
String lengths are both 262. Strings differ at index 7.
Expected: "(Error 1156, Line 1, Col 9, Line 1, Col 22, "Feature 'Undersc..."
But was: "(Error 3350, Line 1, Col 9, Line 1, Col 22, "Feature 'Undersc..."
------------------^
Raw output
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
at NUnit.Framework.Assert.AreEqual(Object expected, Object actual, String message, Object[] args)
at FSharp.Test.Compiler.Assertions.assertErrors@1496.Invoke(String actual, String expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1498
at Microsoft.FSharp.Collections.ListModule.loop@248-27[T1,T2](FSharpFunc`3 f, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 252
at Microsoft.FSharp.Collections.ListModule.Iterate2[T1,T2](FSharpFunc`2 action, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 246
at FSharp.Test.Compiler.Assertions.assertErrors(String what, Int32 libAdjust, FSharpList`1 source, FSharpList`1 expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1496
at FSharp.Test.Compiler.Assertions.assertResultsCategory(String what, FSharpFunc`2 selector, FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1531
at FSharp.Test.Compiler.Assertions.withResultsIgnoreNativeRange(FSharpList`1 expectedResults, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1535
at FSharp.Test.Compiler.Assertions.withDiagnostics(FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1553
at FSharp.Test.Compiler.Assertions.withSingleDiagnostic(ErrorType expected_0, Line expected_1, Col expected_2, Line expected_3, Col expected_4, String expected_5, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1556
at ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8(String literal) in /home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/ErrorMessages/InvalidNumericLiteralTests.fs:line 42
at InvokeStub_Numeric Literals.Invalid Numeric Literals In F#8(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 1 in ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
azure-pipelines / fsharp-ci
ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8
NUnit.Framework.AssertionException : Mismatched error message:
Expecting: (Error 1156, Line 1, Col 9, Line 1, Col 15, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
Actual: (Error 3350, Line 1, Col 9, Line 1, Col 15, "Feature 'Underscores in numeric literal after prefix or before suffix and Hexadecimal, octal, binary and floating custom numeric literal' is not available in F# 8.0. Please use language version 'PREVIEW' or greater.")
String lengths are both 262. Strings differ at index 7.
Expected: "(Error 1156, Line 1, Col 9, Line 1, Col 15, "Feature 'Undersc..."
But was: "(Error 3350, Line 1, Col 9, Line 1, Col 15, "Feature 'Undersc..."
------------------^
Raw output
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
at NUnit.Framework.Assert.AreEqual(Object expected, Object actual, String message, Object[] args)
at FSharp.Test.Compiler.Assertions.assertErrors@1496.Invoke(String actual, String expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1498
at Microsoft.FSharp.Collections.ListModule.loop@248-27[T1,T2](FSharpFunc`3 f, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 252
at Microsoft.FSharp.Collections.ListModule.Iterate2[T1,T2](FSharpFunc`2 action, FSharpList`1 list1, FSharpList`1 list2) in /home/vsts/work/1/s/src/FSharp.Core/list.fs:line 246
at FSharp.Test.Compiler.Assertions.assertErrors(String what, Int32 libAdjust, FSharpList`1 source, FSharpList`1 expected) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1496
at FSharp.Test.Compiler.Assertions.assertResultsCategory(String what, FSharpFunc`2 selector, FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1531
at FSharp.Test.Compiler.Assertions.withResultsIgnoreNativeRange(FSharpList`1 expectedResults, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1535
at FSharp.Test.Compiler.Assertions.withDiagnostics(FSharpList`1 expected, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1553
at FSharp.Test.Compiler.Assertions.withSingleDiagnostic(ErrorType expected_0, Line expected_1, Col expected_2, Line expected_3, Col expected_4, String expected_5, CompilationResult result) in /home/vsts/work/1/s/tests/FSharp.Test.Utilities/Compiler.fs:line 1556
at ErrorMessages.Numeric Literals.Invalid Numeric Literals In F#8(String literal) in /home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/ErrorMessages/InvalidNumericLiteralTests.fs:line 42
at InvokeStub_Numeric Literals.Invalid Numeric Literals In F#8(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)