Skip to content

Commit 5cfba04

Browse files
committed
obsolete warnings
1 parent 88e5f8e commit 5cfba04

File tree

4 files changed

+114
-2
lines changed

4 files changed

+114
-2
lines changed

fcs/build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let isMono = false
2121
#endif
2222

2323

24-
let dotnetExePath = DotNetCli.InstallDotNetSDK "2.1.403"
24+
let dotnetExePath = DotNetCli.InstallDotNetSDK "2.1.504"
2525

2626
let runDotnet workingDir args =
2727
let result =

src/fsharp/fsi/fsi.fsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,3 +329,5 @@ type CompilerOutputStream =
329329
new : unit -> CompilerOutputStream
330330

331331
member Read : unit -> string
332+
333+

src/fsharp/service/service.fs

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,4 +3391,59 @@ module PrettyNaming =
33913391
let FormatAndOtherOverloadsString remainingOverloads = FSComp.SR.typeInfoOtherOverloads(remainingOverloads)
33923392
let QuoteIdentifierIfNeeded id = Lexhelp.Keywords.QuoteIdentifierIfNeeded id
33933393
let KeywordNames = Lexhelp.Keywords.keywordNames
3394-
3394+
3395+
namespace Microsoft.FSharp.Compiler.SourceCodeServices
3396+
3397+
open System
3398+
3399+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3400+
type FSharpFindDeclFailureReason = A | B
3401+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3402+
type FSharpFindDeclResult = A | B
3403+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3404+
type FSharpProjectContext = A | B
3405+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3406+
type SemanticClassificationType = A | B
3407+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3408+
type FSharpCheckFileResults = A | B
3409+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3410+
type FSharpCheckProjectResults = A | B
3411+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3412+
type UnresolvedReferencesSet = A | B
3413+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3414+
type FSharpParsingOptions = A | B
3415+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3416+
type FSharpProjectOptions = A | B
3417+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3418+
type FSharpCheckFileAnswer = A | B
3419+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3420+
type FSharpChecker = A | B
3421+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3422+
type CompilerEnvironment = A | B
3423+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3424+
module CompilerEnvironment = begin end
3425+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3426+
module DebuggerEnvironment = begin end
3427+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3428+
module PrettyNaming = begin end
3429+
3430+
namespace Microsoft.FSharp.Compiler.Interactive.Shell
3431+
3432+
open System
3433+
3434+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3435+
type FsiValue = A | B
3436+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3437+
type EvaluationEventArgs = A | B
3438+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3439+
type public FsiEvaluationSessionHostConfig = A | B
3440+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3441+
type FsiEvaluationSession = A | B
3442+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3443+
module Settings = begin end
3444+
3445+
/// Defines a read-only input stream used to feed content to the hosted F# Interactive dynamic compiler.
3446+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3447+
type CompilerInputStream = A | B
3448+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
3449+
type CompilerOutputStream = A | B

src/fsharp/service/service.fsi

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,3 +765,58 @@ module public PrettyNaming =
765765
/// All the keywords in the F# language
766766
val KeywordNames : string list
767767

768+
namespace Microsoft.FSharp.Compiler.SourceCodeServices
769+
770+
open System
771+
772+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
773+
type FSharpFindDeclFailureReason
774+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
775+
type FSharpFindDeclResult
776+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
777+
type FSharpProjectContext
778+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
779+
type SemanticClassificationType
780+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
781+
type FSharpCheckFileResults
782+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
783+
type FSharpCheckProjectResults
784+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
785+
type UnresolvedReferencesSet
786+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
787+
type FSharpParsingOptions
788+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
789+
type FSharpProjectOptions
790+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
791+
type FSharpCheckFileAnswer
792+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
793+
type FSharpChecker
794+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
795+
type CompilerEnvironment
796+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
797+
module CompilerEnvironment = begin end
798+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
799+
module DebuggerEnvironment = begin end
800+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
801+
module PrettyNaming = begin end
802+
803+
namespace Microsoft.FSharp.Compiler.Interactive.Shell
804+
805+
open System
806+
807+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
808+
type FsiValue
809+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
810+
type EvaluationEventArgs
811+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
812+
type public FsiEvaluationSessionHostConfig
813+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
814+
type FsiEvaluationSession
815+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
816+
module Settings = begin end
817+
818+
/// Defines a read-only input stream used to feed content to the hosted F# Interactive dynamic compiler.
819+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
820+
type CompilerInputStream
821+
[<Obsolete("The namespace Microsoft.FSharp.Compiler has been renamed FSharp.Compiler. Please adjust your namespace references.")>]
822+
type CompilerOutputStream

0 commit comments

Comments
 (0)