1. 01 9月, 2023 1 次提交
  2. 21 7月, 2023 2 次提交
  3. 31 5月, 2023 1 次提交
    • D
      Merge main to release/dev17.7 (#15278) · 81752bbf
      dotnet bot 提交于
      * LexFilter: cleanup whitespaces (#15250)
      
      * Parser: rewrite tuple expr recovery to allow better items recovery (#15227)
      
      * Checker: recover on unknown record fields (#15214)
      
      * Make anycpu work correctly on Arm64 (#15234)
      
      * Makeanuycpu work correctly on arm64
      
      * Update Microsoft.FSharp.Targets
      
      * Fix15254 (#15257)
      
      * Deploy only compressed metadata for dotnet sdk implementation (#15230)
      
      * compress fsharp for sdk
      
      * Update FSharp.DependencyManager.Nuget.fsproj
      
      * Parser: more binary expressions recovery (#15255)
      
      * Use background CancellableTask in VS instead of async & asyncMaybe (#15187)
      
      * wip
      
      * iteration
      
      * iteration: quickinfo, help context
      
      * fantomas
      
      * todo
      
      * moved tasks to editor project, fixed comment colouring bug
      
      * fantomas
      
      * Fantomas + PR feedback
      
      * Update vsintegration/src/FSharp.Editor/Hints/HintService.fs
      Co-authored-by: NAndrii Chebukin <xperiandri@live.ru>
      
      * Revert "Update vsintegration/src/FSharp.Editor/Hints/HintService.fs"
      
      This reverts commit bf51b312ca1065fc96e3b0dd6cf9d79b3efd90eb.
      
      ---------
      Co-authored-by: NAndrii Chebukin <xperiandri@live.ru>
      
      * Name resolution: actually add reported item when trying to replace (#14772)
      Co-authored-by: NTomas Grosup <tomasgrosup@microsoft.com>
      
      * Move flatErrors tests from fsharpqa (#15251)
      
      * temp
      
      * tests
      
      * flaterrors
      
      * update tests
      
      * preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings (#15243)
      
      * preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings
      
      * use fallback range only for range0
      
      * pattern match instead of Option.isSome
      
      * Add test
      
      * Revert "Add test"
      
      This reverts commit e05e808ec964c5df1f0d2c4a6a5f265b0f52fe9b.
      
      * Make `FSharpReferencedProject` representation public (#15266)
      
      * Make FSharpReferencedProject representation public
      
      * Update surface area
      
      * Fantomas
      
      * Fantomas
      
      ---------
      Co-authored-by: NTomas Grosup <tomasgrosup@microsoft.com>
      
      * Fix navigation for external enums, DUs and name resultion for members (#15270)
      
      * Update FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl
      
      * Add warning when compiler selects among multiple record type candidates, fslang-suggestion 1091 (#15256)
      
      * Protect assembly exploration for C# extension members (#15271)
      
      * Compute ValInline.Never for externs (#15274)
      
      * Compute ValInline.Never for externs
      
      ---------
      Co-authored-by: NEugene Auduchinok <eugene.auduchinok@jetbrains.com>
      Co-authored-by: NKevin Ransom (msft) <codecutter@hotmail.com>
      Co-authored-by: NVlad Zarytovskii <vzaritovsky@hotmail.com>
      Co-authored-by: NAndrii Chebukin <xperiandri@live.ru>
      Co-authored-by: NTomas Grosup <tomasgrosup@microsoft.com>
      Co-authored-by: Ndawe <dawedawe@posteo.de>
      81752bbf
  4. 23 5月, 2023 1 次提交
  5. 12 5月, 2023 1 次提交
  6. 16 2月, 2023 1 次提交
  7. 17 10月, 2022 1 次提交
  8. 14 10月, 2022 1 次提交
  9. 13 10月, 2022 1 次提交
  10. 12 10月, 2022 1 次提交
  11. 07 10月, 2022 1 次提交
  12. 27 9月, 2022 1 次提交
  13. 15 9月, 2022 1 次提交
  14. 09 8月, 2022 1 次提交
  15. 29 7月, 2022 1 次提交
    • E
      SynType with single slash and type (#13440) · e1f73554
      Edgar Gonzalez 提交于
      * Update pars.fsy WIP
      
      * Update SynType.Tuple to catpture the division edgecase
      
      * Update pars.fsy amd Helper to reflect the Star and Division
      
      * WIP Update where SynTyp.Tuple is being use and fix build locally
      
      * Include firstType when used on Services and fix formatting
      
      * Introduce TupleTypeSegment to SynType.Tuple.
      
      * Update CheckDeclaration
      
      * Update SurfaceArea
      
      * Non measure kinds are not measures.
      
      * Code clean up
      
      * Rename Parser helper function, update pars.fsy , Add  more testing
      
      * Rename TupleTypeSegment to SynTupleTypeSegment.
      Co-authored-by: Nnojaf <florian.verdonck@outlook.com>
      e1f73554
  16. 13 7月, 2022 1 次提交
  17. 12 7月, 2022 1 次提交
  18. 04 7月, 2022 1 次提交
  19. 28 6月, 2022 1 次提交
    • E
      Parser: recover on missing items in tuple expression (#13352) · a7617f94
      Eugene Auduchinok 提交于
      * Parser: recover on missing first item in tuple expression
      
      * Fix longer tuples, add test
      
      * Add another test
      
      * Fix perfect formatting
      
      * add an extra line break in a line that has less than 120 chars
      * add an extra space after an capitalized pattern
      
      * Add another test
      
      * Another test
      
      * Recover on missing last item
      a7617f94
  20. 14 5月, 2022 1 次提交
  21. 13 5月, 2022 1 次提交
  22. 10 5月, 2022 2 次提交
  23. 04 5月, 2022 1 次提交
    • D
      Apply standard source code formatting to src/fsharp/*.fsi (#12346) · f5e74287
      Don Syme 提交于
      * add fantomasignore
      
      * add fantomasignore
      
      * fix ignores
      
      * fix ignores
      
      * update fantomasignore
      
      * prefix before formatting
      
      * prefix before formatting
      
      * bump fantomas version
      
      * update tool
      
      * update tool
      
      * update tool
      
      * update tool
      
      * add job
      
      * add job
      
      * apply formatting
      f5e74287
  24. 02 5月, 2022 1 次提交
    • F
      SynLongIdent (#13057) · 2de40458
      Florian Verdonck 提交于
      * Refactor LongIdentWithDots to LongIdentWithTrivia.
      
      * Start using IndentWithTrivia in SyntaxTree.
      
      * Address aesthetic feedback.
      
      * Refactored IdentWithTrivia and LongIdentWithTrivia to SynIdent and SynLongIdent.
      Restored SynExpr.Ident.
      
      * Capturing some additional IdentTrivia.OriginalNotation.
      
      * SurfaceArea 🎉
      
      * Update operator ident nodes in ServiceUntypedParse.fs.
      
      * Fix remaining Visual Studio tests.
      
      * Change the Ident of SynPat.Named to SynIdent to capture active patterns without parameters.
      
      * Replace LongIdentWithDots function usage with SynLongIdent.
      
      * Correct notation of prefix operators.
      2de40458
  25. 28 3月, 2022 1 次提交
  26. 16 2月, 2022 1 次提交
    • D
      Debug revamp, make all debug points explicit (#12432) · 3c2e8c42
      Don Syme 提交于
      * cleanup changes, squash
      
      * preserve debug points in optimization
      
      * fix baselines
      
      * fix build
      
      * update tests
      
      * simplify 'when' debug points and add debug points on conditional logic
      
      * fix tests
      
      * unwind async changes
      
      * unwind async changes
      
      * revert changes to async
      
      * remove false extra debug points from computation expressions
      
      * fix debug points on while of computation expressions
      
      * fix test
      
      * fix debug points in classes
      
      * fix debug points in classes
      
      * fix surface area
      
      * add back __debugPoint for 'in' for for loops in tasks and CEs
      
      * fix ValidateBreakpointLocation for pipe and boolean logic
      
      * update baselines
      
      * better debug points for yield/return
      
      * update surface area
      
      * fix minor issues
      
      * remove attempt at extra attribute generation
      
      * fix failing test
      
      * update baselines
      
      * walkthrough tweaks
      
      * fix baseline
      
      * fix build
      
      * try fix test
      
      * try fix test
      
      * try fix test
      
      * minimise diff
      
      * minimise diff
      
      * minimise diff
      
      * update docs
      3c2e8c42
  27. 06 2月, 2022 2 次提交
  28. 02 2月, 2022 1 次提交
  29. 01 11月, 2021 1 次提交
    • F
      Keep track of EQUALS range in Syntax Tree (#12311) · 24979b69
      Florian Verdonck 提交于
      * Keep track of EQUALS range in SynBinding.
      
      * Keep track of EQUALS range in SynExpr.LetOrUseBang and AndBang.
      
      * Keep track of EQUALS range in SynExpr.Record.
      
      * Keep track of EQUALS range in SynExpr.AnonRecd.
      
      * Keep track of EQUALS range in SynPat.Record.
      
      * Keep track of EQUALS range in SynTypeDefn.
      
      * Keep track of EQUALS range in SynExpr.For.
      
      * Keep track of EQUALS range in SynTypeDefnSig.
      
      * Keep track of EQUALS range in SynEnumCase.
      
      * Keep track of EQUALS range in SynModuleDecl.NestedModule & SynModuleSigDecl.NestedModule.
      
      * Keep track of EQUALS range in SynMemberDefn.AutoProperty.
      
      * Keep track of EQUALS range in SynArgPats.NamePatPairs.
      
      * Renamed RecordInstanceField and AndBang, removed spaces between named patterns.
      24979b69
  30. 18 9月, 2021 1 次提交
    • A
      Redesign XmlDoc collecting mechanism (#11973) · 85fe2809
      Alex Berezhnykh 提交于
      * wip
      
      * let bindings and 'extern' support
      
      * fix SurfaceArea
      
      * fix for val & member val
      
      * tests + fixes
      
      * yet another tests
      
      * _
      
      * simplify
      
      * test for implicit ctor
      
      * fix
      
      * improve test
      
      * move grabXmlDoc to the ParseHelpers
      
      * diagnostic
      
      * initial impl
      
      # Conflicts:
      #	src/fsharp/SyntaxTreeOps.fs
      #	src/fsharp/SyntaxTreeOps.fsi
      #	src/fsharp/fsi/fsi.fs
      #	src/fsharp/pars.fsy
      
      * add in test that verifies the SyntaxTree representation
      
      # Conflicts:
      #	tests/service/Symbols.fs
      
      * generate sigs and write docs for union case properties
      
      # Conflicts:
      #	src/fsharp/XmlDocFileWriter.fs
      
      * implement xmldocs for anon fields as well
      
      # Conflicts:
      #	src/fsharp/SyntaxTreeOps.fs
      #	src/fsharp/SyntaxTreeOps.fsi
      #	src/fsharp/XmlDocFileWriter.fs
      #	src/fsharp/pars.fsy
      #	tests/service/Symbols.fs
      
      * minor fixes
      
      * fix xml-doc in FSharp.Core
      
      * fix tests
      
      * fix docs in FSharp.Compiler.Service
      
      * yet another comment fix
      
      * try to fix tests
      
      * yet another test fix
      
      * compilation fix
      Co-authored-by: NChet Husk <chusk3@gmail.com>
      85fe2809
  31. 23 8月, 2021 1 次提交
    • D
      [RFC FS-1110, 1111] index syntax and ref cell op deprecation (#11900) · 699291aa
      Don Syme 提交于
      * indexer notation expr[expr]
      
      * add tests
      
      * back compat
      
      * update tests
      
      * fix build
      
      * fix build
      
      * fix additional case of syntactic sugar triggering warning
      
      * fix warning#
      
      * fix warnings
      
      * fix warning#
      
      * improve messages
      
      * remvoe test case no longer of interest
      
      * emit informationals
      
      * update baselines
      
      * don't produce informationals for expr.[idx] as yet
      
      * tweak error messages
      
      * remove dead code
      
      * merge main
      
      * fix tests
      
      * fix tests
      
      * fix tests
      
      * fix tests
      
      * improve diagnostics
      
      * add aka.ms links
      
      * update baselines
      
      * fix error messages
      
      * change warning to informational in preview
      
      * fix test
      
      * code review feedback
      
      * code review feedback
      
      * Update salsa.fs
      Co-authored-by: NDon Syme <donsyme@fastmail.com>
      699291aa
  32. 18 8月, 2021 1 次提交
  33. 10 8月, 2021 1 次提交
  34. 19 7月, 2021 1 次提交
    • D
      [RFC FS-1087, FS-1097, FS-1098] tasks, resumable state machines, inline on parameters (#6811) · f45ef819
      Don Syme 提交于
      * Move existing Compiler.ComponentTests to a new Compiler.fs framework (#9839) (#9847)
      
      * Move existing Compiler.ComponentTests to a new Compiler.fs framework; Add 'parse' function
      
      * Changed some wording in error messages
      Co-authored-by: NVlad Zarytovskii <vzaritovsky@hotmail.com>
      
      * fix build
      
      * fix order of diagnostics
      
      * update baselines
      
      * Delete FSharp.Compiler.Service.fsproj
      
      * fix comments
      
      * fix comments
      
      * fix build
      
      * fix build
      
      * Reduce number of typeEquiv checks (#10324) (#10374)
      Co-authored-by: NSteffen Forkmann <steffen.forkmann@msu-solutions.de>
      
      * xlf
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix list and array builder perf
      
      * better perf testing
      
      * better perf testing
      
      * better perf testing
      
      * update baselines
      
      * work on taskSeq { ... }
      
      * remove old file
      
      * enable all benchmarks
      
      * update benchmarks
      
      * update baseline
      
      * static checking of resumable code
      
      * static checking of resumable code
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix baseline
      
      * try fix stack overflow
      
      * fix up tests
      
      * add some negative testing, simplify implementation
      
      * fix up tests
      
      * fix baseline
      
      * fix test and add negative baselines
      
      * rename intrinsic and add test for seq case
      
      * fix build
      
      * fix and rename test
      
      * fix test
      
      * improve debugging
      
      * improve debugging of try/with and try/finally
      
      * fix baseline
      
      * infer resumable code from single attribute on delegate type
      
      * update samples
      
      * inline if lambda
      
      * update baselines
      
      * fix check
      
      * delegate and computed function reductions for inlined code
      
      * update baselines
      
      * update baselines
      
      * update test
      
      * fix test that failed randomly due to inexact floating point
      
      * add tests for generated IL
      
      * update tests
      
      * don't use InlineIfLambda on sumBy and averageBy due to slight floating point changes
      
      * add ability for struct machines to implement additional interfaces (needed for low allocation co-routines)
      
      * add coroutines
      
      * update baselines
      
      * resumable code combinators and tailcalls for coroutines
      
      * fix baselinhe
      
      * make tasks using shared resumable code combinators the default. Also testing and fixes for dynamic execution of resumable code
      
      * update baselines
      
      * suppress warning in FSharp.Core
      
      * suppress warning in FSharp.Core
      
      * fix build
      
      * fix build
      
      * fix build
      
      * update test
      
      * only struct state machines
      
      * codegen IResumableStateMachine
      
      * update baselines
      
      * update baselines
      
      * notes on sample
      
      * fix build
      
      * Update coroutine.fs
      
      * Negative testing following spec for compilability. Additional testing for dynamic implementation of tasks
      
      * simpler coroutine sample, fix build
      
      * update baselines
      
      * remove unused state vars from internal represenation of object expressions
      
      * add coroutine example
      
      * update perf benchmarks
      
      * remove old files
      
      * code cleanup
      
      * add compilergenerated attribute, add async2 approximate implementation
      
      * test async perf w.r.t. previous compiler, add test for reduced stack trace
      
      * using on IAsyncDisposable
      
      * remove dynamic Awaiter field from tasks
      
      * update surface area
      
      * add backgroundTask { ... }
      
      * surface area test only for decalred members etc.
      
      * fix test
      
      * add dynamic tests for backgroundTask
      
      * fix codegen bug
      
      * fix build
      
      * simplify SRTP use in task.fs/fsi
      
      * fix build and baselines
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix pacakge
      
      * remove RFC FS-1099 from this PR
      
      * remove RFC FS-1099 from this PR
      
      * backgroundTask only switches to background if necessary
      
      * Update tasks.fs
      
      * fix test
      
      * clear sync context for test
      
      * clear sync context for test
      
      * update baseline
      
      * code review
      
      * fix build
      
      * fix build
      
      * fix clearing state machines
      
      * fix to clearing code
      
      * improve generated task code and debugging
      
      * only update baselines on failure
      
      * fix some cases of debug stepping, improve isnull codegen, add more tests
      
      * move TaskPerf to benchmarks directory
      
      * fix baseline
      
      * only update baselines when things changed
      
      * fix baselines
      
      * update baselines
      
      * fix baselines
      
      * fix build
      
      * fix some tests, add hard error on language version check
      
      * reset unchanged files
      
      * update baselines
      
      * update baselines
      
      * fix baseline
      
      * fix comparer
      
      * flags
      
      * Revert "flags"
      
      This reverts commit 5b2a0118311150cea9be567d497a917fde0b92f5.
      
      * fix merge
      
      * fix build
      
      * fix build
      
      * fix build
      
      * update baseline
      
      * fix build
      
      * fix build
      
      * update baseline
      
      * fix baselines
      
      * update baseline
      
      * fix build
      
      * fix build
      
      * update baseline
      
      * fix test
      
      * code review changes
      Co-authored-by: NKevin Ransom (msft) <codecutter@hotmail.com>
      Co-authored-by: NPhillip Carter <pcarter@fastmail.com>
      Co-authored-by: Ndotnet bot <dotnet-bot@dotnetfoundation.org>
      Co-authored-by: NVlad Zarytovskii <vzaritovsky@hotmail.com>
      Co-authored-by: NDon Syme <donsyme@fastmail.com>
      Co-authored-by: NSteffen Forkmann <steffen.forkmann@msu-solutions.de>
      Co-authored-by: NBrett V. Forsgren <brettfo@microsoft.com>
      f45ef819
  35. 28 6月, 2021 1 次提交
  36. 23 6月, 2021 1 次提交
  37. 28 4月, 2021 1 次提交
    • W
      Integrated XML documentation reading in FCS (#11454) · 954210d1
      Will Smith 提交于
      * Initial work for proper xml doc info
      
      * Implementing IXmlDocumentationInfoLoader
      
      * Added TryFindXmlDocumentationInfo to AssemblyLoader
      
      * Able to get xml comments
      
      * Minor refactor
      
      * More refactoring
      
      * Fixing build
      
      * Plumbing infoReader and updating surface area
      
      * Do not create a local entity ref here
      
      * Removed extracting XML from resources as that is not correct
      
      * Ignore parameter
      
      * More cleanup
      
      * layoutXmlDoc formats well with new-lines
      
      * layout xml doc for values
      
      * Setting up more layout functions
      
      * Using new layouts
      
      * All xml is being emitted
      
      * fixing a few tests
      
      * Fixing test
      
      * Fixing a test
      
      * fixing tests
      
      * Fixing tests
      
      * Better caching for xml documentation
      954210d1