Skip to content

Commit 9298d13

Browse files
committed
Move SourceText: Microsoft.FSharp -> FSharp
1 parent c3c07c0 commit 9298d13

32 files changed

Lines changed: 52 additions & 54 deletions

fcs/samples/EditorService/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ open FSharp.Compiler.QuickParse
88
let checker = FSharpChecker.Create()
99

1010
let parseWithTypeInfo (file, input) =
11-
let input = Microsoft.FSharp.Compiler.Text.SourceText.ofString input
11+
let input = FSharp.Compiler.Text.SourceText.ofString input
1212
let checkOptions, _errors = checker.GetProjectOptionsFromScript(file, input) |> Async.RunSynchronously
1313
let parsingOptions, _errors = checker.GetParsingOptionsFromProjectOptions(checkOptions)
1414
let untypedRes = checker.ParseFile(file, input, parsingOptions) |> Async.RunSynchronously

fcs/samples/UntypedTree/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let checker = FSharpChecker.Create()
1111
// Get untyped tree for a specified input
1212
let getUntypedTree (file, input) =
1313
let parsingOptions = { FSharpParsingOptions.Default with SourceFiles = [| file |] }
14-
let untypedRes = checker.ParseFile(file, Microsoft.FSharp.Compiler.Text.SourceText.ofString input, parsingOptions) |> Async.RunSynchronously
14+
let untypedRes = checker.ParseFile(file, FSharp.Compiler.Text.SourceText.ofString input, parsingOptions) |> Async.RunSynchronously
1515
match untypedRes.ParseTree with
1616
| Some tree -> tree
1717
| None -> failwith "Something went wrong during parsing!"

src/fsharp/CompileOps.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ open FSharp.Compiler.TypeChecker
4444
open FSharp.Compiler.Tast
4545
open FSharp.Compiler.Tastops
4646
open FSharp.Compiler.TcGlobals
47-
48-
open Microsoft.FSharp.Compiler.Text
47+
open FSharp.Compiler.Text
4948

5049
#if !NO_EXTENSIONTYPING
5150
open FSharp.Compiler.ExtensionTyping

src/fsharp/CompileOps.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ open FSharp.Compiler.Ast
1717
open FSharp.Compiler.ErrorLogger
1818
open FSharp.Compiler.Tast
1919
open FSharp.Compiler.TcGlobals
20-
open Microsoft.FSharp.Compiler.Text
20+
open FSharp.Compiler.Text
2121
open Microsoft.FSharp.Core.CompilerServices
2222
#if !NO_EXTENSIONTYPING
2323
open FSharp.Compiler.ExtensionTyping

src/fsharp/NameResolution.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ open FSharp.Compiler.AccessibilityLogic
2323
open FSharp.Compiler.AttributeChecking
2424
open FSharp.Compiler.InfoReader
2525
open FSharp.Compiler.PrettyNaming
26-
open Microsoft.FSharp.Compiler.Text
26+
open FSharp.Compiler.Text
2727
open System.Collections.Generic
2828

2929
#if !NO_EXTENSIONTYPING

src/fsharp/NameResolution.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ open FSharp.Compiler.Tastops
1414
open FSharp.Compiler.TcGlobals
1515
open FSharp.Compiler.AbstractIL.Internal.Library
1616
open FSharp.Compiler.PrettyNaming
17-
open Microsoft.FSharp.Compiler.Text
17+
open FSharp.Compiler.Text
1818

1919
/// A NameResolver is a context for name resolution. It primarily holds an InfoReader.
2020
type NameResolver =

src/fsharp/UnicodeLexing.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module internal FSharp.Compiler.UnicodeLexing
44

5-
open Microsoft.FSharp.Compiler.Text
5+
open FSharp.Compiler.Text
66
open Microsoft.FSharp.Text
77
open Internal.Utilities.Text.Lexing
88

src/fsharp/fsi/fsi.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ open FSharp.Compiler.Tastops
5050
open FSharp.Compiler.TcGlobals
5151
open FSharp.Compiler.SourceCodeServices
5252
open FSharp.Compiler.ReferenceResolver
53-
open Microsoft.FSharp.Compiler.Text
53+
open FSharp.Compiler.Text
5454

5555
open Internal.Utilities
5656
open Internal.Utilities.Collections

src/fsharp/service/ServiceXmlDocParser.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace FSharp.Compiler.SourceCodeServices
44

55
open FSharp.Compiler
66
open FSharp.Compiler.AbstractIL.Internal.Library
7-
open Microsoft.FSharp.Compiler.Text
7+
open FSharp.Compiler.Text
88

99
/// Represent an Xml documentation block in source code
1010
type XmlDocable =

src/fsharp/service/ServiceXmlDocParser.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace FSharp.Compiler.SourceCodeServices
55
open FSharp.Compiler
66
open FSharp.Compiler.Range
77
open FSharp.Compiler.Ast
8-
open Microsoft.FSharp.Compiler.Text
8+
open FSharp.Compiler.Text
99

1010
/// Represent an Xml documentation block in source code
1111
type public XmlDocable =

0 commit comments

Comments
 (0)