Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #16212

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

Spelling #16212

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
abcccfe
Spelling a..anonymous
jsoref Oct 20, 2023
b327527
Spelling another..assembly
jsoref Oct 20, 2023
835fdef
Spelling another..cannot implement
jsoref Oct 23, 2023
38200c7
Spelling canonical..combo
jsoref Oct 23, 2023
bcef7e5
Spelling comment..constructor
jsoref Oct 23, 2023
f59b61d
Spelling constructors..dealt
jsoref Oct 23, 2023
4ec1e9a
Spelling debugging..depends
jsoref Oct 24, 2023
a810f38
Spelling dereference..distinct
jsoref Oct 24, 2023
5d34f90
Spelling distinction..entry
jsoref Oct 24, 2023
02aab51
Spelling entrypoint..extensibility
jsoref Oct 24, 2023
237f79c
Spelling extension..github
jsoref Oct 24, 2023
902d5a8
Spelling grained..imbalanced
jsoref Oct 24, 2023
2c19463
Spelling immediate..initial
jsoref Oct 24, 2023
b46cf19
spelling: initialization
jsoref Oct 24, 2023
2967df4
Spelling initialize..intellisense
jsoref Oct 24, 2023
b6bf982
Spelling interface..length
jsoref Oct 20, 2023
828b9df
Spelling level..mercury
jsoref Oct 24, 2023
b4022b1
Spelling message..node
jsoref Oct 24, 2023
cb1023f
Spelling nonexistent..occurred
jsoref Oct 20, 2023
fe7fb76
Spelling occurrence..optimization
jsoref Oct 24, 2023
5ffb920
Spelling optimizations..parallel
jsoref Oct 24, 2023
cdcf1e4
Spelling parameter..performed
jsoref Oct 24, 2023
ae24e1c
Spelling persisted..preferences
jsoref Oct 24, 2023
4fe162c
Spelling preprocessor..reentrancy
jsoref Oct 24, 2023
dd39abd
Spelling reference..reserved
jsoref Oct 25, 2023
eecc018
Spelling reset..returns
jsoref Oct 25, 2023
ed358c8
Spelling rigid..simplest
jsoref Oct 25, 2023
dac88f6
Spelling simultaneously..succeeded
jsoref Oct 25, 2023
e875d09
Spelling successful..the only value
jsoref Oct 25, 2023
4418485
Spelling thingy..unmanaged
jsoref Oct 25, 2023
ed2aa1c
Spelling unnamed..world
jsoref Oct 25, 2023
13784af
quote: with/finally
jsoref Nov 2, 2023
4a5ca4b
tests: Something wants TypeWhereNamespaceReturnsNull
jsoref Nov 8, 2023
d9c7ca6
Update IlxGen.fs
psfinaki Feb 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Spelling successful..the only value
* successful
* successfully
* such
* suffix
* suitable
* superfluous
* support
* supported
* supports
* suppress
* swallowed
* swapping
* symbol
* synchronize
* syntax
* system
* target
* targeting
* temporary
* the document
* the name
* the only value

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed May 3, 2024
commit e875d09c4699fa3fc37fea51389dcd6d1d5069d9
2 changes: 1 addition & 1 deletion release-notes.md
psfinaki marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ Integrate dotnet/fsharp from 48f932cf8 to 085985140. Notable changes include:
### 0.0.85 -

* Fix for FSharpSymbolUse for single case union type #301
* Added supprt for ReturnParameter in nested functions
* Added support for ReturnParameter in nested functions

### 0.0.84 -

Expand Down
2 changes: 1 addition & 1 deletion scripts/dotnet-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -u
# This is causing it to fail
set -o pipefail

# Use in the the functions: eval $invocation
# Use in the functions: eval $invocation
invocation='say_verbose "Calling: ${yellow:-}${FUNCNAME[0]} ${green:-}$*${normal:-}"'

# standard output may be used as a return value in the functions
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/AbstractIL/il.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type internal PrimaryAssembly =
member Name: string

/// Checks if an assembly resolution may represent a primary assembly that actually contains the
/// definition of Sytem.Object. Note that the chosen target primary assembly may not actually be the one
/// definition of System.Object. Note that the chosen target primary assembly may not actually be the one
/// that contains the definition of System.Object - it is just the one we are choosing to emit for.
static member IsPossiblePrimaryAssembly: fileName: string -> bool

Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/AbstractIL/ilreflect.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ let rec buildTypeDefPass3 cenv nesting modB emEnv (tdef: ILTypeDef) =
//
// The code in this phase is fragile.
//
// THe background is that System.Reflection.Emit implementations can be finickity about the
// The background is that System.Reflection.Emit implementations can be finickity about the
// order that CreateType calls are made when types refer to each other. Some of these restrictions
// are not well documented, or are related to historical bugs where the F# emit code worked around the
// underlying problems. Ideally the SRE implementation would just "work this out as it goes along" but
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/AbstractIL/ilwrite.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ type options =
/// Write a binary to the file system.
val WriteILBinaryFile: options: options * inputModule: ILModuleDef * (ILAssemblyRef -> ILAssemblyRef) -> unit

/// Write a binary to an array of bytes auitable for dynamic loading.
/// Write a binary to an array of bytes suitable for dynamic loading.
psfinaki marked this conversation as resolved.
Show resolved Hide resolved
val WriteILBinaryInMemory:
options: options * inputModule: ILModuleDef * (ILAssemblyRef -> ILAssemblyRef) -> byte[] * byte[] option
2 changes: 1 addition & 1 deletion src/Compiler/Checking/CheckIncrementalClasses.fs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ type IncrClassReprInfo =
| InMethod(isStatic, methodVal, valReprInfo), _ ->
//dprintfn "Rewriting application of %s to be call to method %s" v.LogicalName methodVal.LogicalName
let expr, exprTy = AdjustValForExpectedValReprInfo g m (mkLocalValRef methodVal) NormalValUse valReprInfo
// Prepend the the type arguments for the class
// Prepend the type arguments for the class
let tyargs = tinst @ tyargs
let thisArgs =
if isStatic then []
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Checking/ConstraintSolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ let rec occursCheck g un ty =
//-------------------------------------------------------------------------

/// Some additional solutions are forced prior to generalization (permitWeakResolution=true). These are, roughly speaking, rules
/// for binary-operand constraints arising from constructs such as "1.0 + x" where "x" is an unknown type. THe constraint here
/// for binary-operand constraints arising from constructs such as "1.0 + x" where "x" is an unknown type. The constraint here
/// involves two type parameters - one for the left, and one for the right. The left is already known to be Double.
/// In this situation (and in the absence of other evidence prior to generalization), constraint solving forces an assumption that
/// the right is also Double - this is "weak" because there is only weak evidence for it.
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Checking/NameResolution.fs
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ let ResolveProvidedTypeNameInEntity (amap, m, typeName, modref: ModuleOrNamespac
//-------------------------------------------------------------------------

/// Qualified lookups of type names where the number of generic arguments is known
/// from context, e.g. Module.Type<args>. The full names suh as ``List`1`` can
/// from context, e.g. Module.Type<args>. The full names such as ``List`1`` can
/// be used to qualify access if needed
let LookupTypeNameInEntityHaveArity nm (typeNameResInfo: TypeNameResolutionStaticArgsInfo) (mty: ModuleOrNamespaceType) =
let attempt1 = mty.TypesByMangledName.TryFind (typeNameResInfo.MangledNameForType nm)
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Checking/infos.fs
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ type ILMethInfo =
/// Does it appear to the user as an instance method?
member x.IsInstance = not x.IsConstructor && not x.IsStatic

/// Get the argument types of the the IL method. If this is an C#-style extension method
/// Get the argument types of the IL method. If this is an C#-style extension method
/// then drop the object argument.
member x.GetParamTypes(amap, m, minst) =
x.ParamMetadata |> List.map (fun p -> ImportParameterTypeFromMetadata amap m p.Type (fun _ -> p.CustomAttrs) x.MetadataScope x.DeclaringTypeInst minst)
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Checking/infos.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ type ILMethInfo =
/// Any type parameters of the enclosing type are instantiated in the type returned.
member GetParamNamesAndTypes: amap: ImportMap * m: range * minst: TType list -> ParamNameAndType list

/// Get the argument types of the the IL method. If this is an C#-style extension method
/// Get the argument types of the IL method. If this is an C#-style extension method
/// then drop the object argument.
member GetParamTypes: amap: ImportMap * m: range * minst: TType list -> TType list

Expand Down
4 changes: 2 additions & 2 deletions src/Compiler/Driver/CompilerConfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ type VersionFlag =
| VersionNone -> "0.0.0.0"

/// Represents a reference to an assembly. May be backed by a real assembly on disk, or a cross-project
/// reference backed by information generated by the the compiler service.
/// reference backed by information generated by the compiler service.
type IRawFSharpAssemblyData =
/// The raw list AutoOpenAttribute attributes in the assembly
abstract GetAutoOpenAttributes: unit -> string list
Expand Down Expand Up @@ -213,7 +213,7 @@ type IRawFSharpAssemblyData =
/// Indicates if the assembly has any F# signature data attribute
abstract HasAnyFSharpSignatureDataAttribute: bool

/// Indicates if the assembly has an F# signature data attribute auitable for use with this version of F# tooling
/// Indicates if the assembly has an F# signature data attribute suitable for use with this version of F# tooling
abstract HasMatchingFSharpSignatureDataAttribute: bool

/// Cache of time stamps as we traverse a project description
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Driver/CompilerConfig.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type IRawFSharpAssemblyData =
/// Indicates if the assembly has any F# signature data attribute
abstract HasAnyFSharpSignatureDataAttribute: bool

/// Indicates if the assembly has an F# signature data attribute auitable for use with this version of F# tooling
/// Indicates if the assembly has an F# signature data attribute suitable for use with this version of F# tooling
abstract HasMatchingFSharpSignatureDataAttribute: bool

/// Get the raw F# signature data in the assembly, if any
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Optimize/LowerSequences.fs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ let ConvertSequenceExprToObject g amap overallExpr =
let pc2lab = Map.ofList ((pcInit, initLabel) :: (pcDone, noDisposeContinuationLabel) :: List.zip pcs labs)
let lab2pc = Map.ofList ((initLabel, pcInit) :: (noDisposeContinuationLabel, pcDone) :: List.zip labs pcs)

// Execute phase2, building the core of the the GenerateNext, Dispose and CheckDispose methods
// Execute phase2, building the core of the GenerateNext, Dispose and CheckDispose methods
let generateExprCore, disposalExprCore, checkDisposeExprCore =
res.phase2 (pcVarRef, currVarRef, nextVarRef, lab2pc)

Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/Symbols/Symbols.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ type FSharpGenericParameterMemberConstraint =
/// Get the name of the method required by the constraint
member MemberName: string

/// Indicates if the the method required by the constraint must be static
/// Indicates if the method required by the constraint must be static
member MemberIsStatic: bool

/// Get the argument types of the method required by the constraint
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/pars.fsy
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ interactiveTerminator:
/* It is important to make this as large as possible given the chunk of input */
/* text. More or less identical to 'moduleDefns' but where SEMICOLON_SEMICOLON is */
/* not part of the grammar of topSeps and HASH interactions are not part of */
/* the swalloed blob, since things like #use must be processed separately. */
/* the swallowed blob, since things like #use must be processed separately. */
/* REVIEW: limiting the input chunks until the next # directive can lead to */
/* discrepencies between whole-file type checking in FSI and FSC. */

Expand Down
2 changes: 1 addition & 1 deletion src/FSharp.Core/Query.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ module Query =
/// in terms of LINQ operators, operating over mutable tuples. Return the conversion
/// information for the immutable-to-mutable conversion performed so we can undo it where needed.
///
/// Here 'inner' refers the the part of the query that produces a sequence of results.
/// Here 'inner' refers the part of the query that produces a sequence of results.
///
/// The output query will use either Queryable.* or Enumerable.* operators depending on whether
/// the inputs to the queries have type IQueryable or IEnumerable.
Expand Down
6 changes: 3 additions & 3 deletions src/FSharp.Core/quotations.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ module DerivedPatterns =
/// </code>
/// Evaluates <c>implExpr</c> to a quotation with the same structure as <c>&lt;@ fun (x: int) -> (x, x) @&gt;</c>, which is the implementation of the
/// method <c>f</c>. Note that the correct generic instantiation has been applied to the implementation to reflect
/// the the type at the callsite.
/// the type at the callsite.
/// </example>
///
[<CompiledName("MethodWithReflectedDefinitionPattern")>]
Expand Down Expand Up @@ -2220,7 +2220,7 @@ module DerivedPatterns =
/// </code>
/// Evaluates <c>implExpr</c> to a quotation with the same structure as <c>&lt;@ fun (x: C&lt;int&gt;) () -> x @&gt;</c>, which is the implementation of the
/// property <c>Identity</c>. Note that the correct generic instantiation has been applied to the implementation to reflect
/// the the type at the callsite.
/// the type at the callsite.
/// </example>
///
[<CompiledName("PropertyGetterWithReflectedDefinitionPattern")>]
Expand Down Expand Up @@ -2251,7 +2251,7 @@ module DerivedPatterns =
/// </code>
/// Evaluates <c>implExpr</c> to a quotation with the same structure as <c>&lt;@ fun (x: C&lt;int&gt;) (v: int) -> () @&gt;</c>, which is the implementation of the
/// setter for the property <c>Count</c>. Note that the correct generic instantiation has been applied to the implementation to reflect
/// the the type at the callsite.
/// the type at the callsite.
/// </example>
///
[<CompiledName("PropertySetterWithReflectedDefinitionPattern")>]
Expand Down
4 changes: 2 additions & 2 deletions tests/EndToEndBuildTests/ProvidedTypes/ProvidedTypes.fs
Original file line number Diff line number Diff line change
Expand Up @@ -8747,7 +8747,7 @@ namespace ProviderImplementation.ProvidedTypes
| ShapeVarUnchecked v ->
Expr.Var (convVarToTgt v)
| ShapeLambdaUnchecked _ as d ->
failwithf "It's not possible to use construct %O when cross targetting to a different FSharp.Core. Make sure you're not calling a function with signature A->(B->C) instead of A->B->C (using |> causes this)." d
failwithf "It's not possible to use construct %O when cross targeting to a different FSharp.Core. Make sure you're not calling a function with signature A->(B->C) instead of A->B->C (using |> causes this)." d
| ShapeCombinationUnchecked (o, exprs) ->
RebuildShapeCombinationUnchecked (o, List.map convExprToTgt exprs)

Expand Down Expand Up @@ -10077,7 +10077,7 @@ namespace ProviderImplementation.ProvidedTypes
// --------------------------------------------------------------------
// ILMethodRef --> ILMethodDef.
//
// Only successfuly converts ILMethodRef's referring to
// Only successfully converts ILMethodRef's referring to
// methods in the module being emitted.
// --------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// #Regression #Conformance #DeclarationElements #Attributes
// FSharp1.0:4780 - Attributes targetting constructors are not allowed on explicit constructors 'new() = { ... }'
// FSharp1.0:4780 - Attributes targeting constructors are not allowed on explicit constructors 'new() = { ... }'
// Make sure custom attributes can be applied to explicit and implicit constructors

#light
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #Conformance #TypesAndModules #Records
#light

// Verify sytanx associated with defining and creating records
// Verify syntax associated with defining and creating records

// Same line
type Rec1 = { A1 : int; B1 : string }
Expand Down
6 changes: 3 additions & 3 deletions tests/FSharp.Test.Utilities/Compiler.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ Actual:

verifyPdbFormat reader compilationType
verifyPdbOptions result.OutputPath reader options
| _ -> failwith "Output path is not set, please make sure compilation was successfull."
| _ -> failwith "Output path is not set, please make sure compilation was successful."

()

Expand All @@ -1420,7 +1420,7 @@ Actual:
let pdbPath = Path.ChangeExtension(assemblyPath, ".pdb")
if not (FileSystem.FileExistsShim pdbPath) then
failwith $"PDB file does not exists: {pdbPath}"
| _ -> failwith "Output path is not set, please make sure compilation was successfull."
| _ -> failwith "Output path is not set, please make sure compilation was successful."
match result with
| CompilationResult.Success r -> verifyPdbExists r
| _ -> failwith "Result should be \"Success\" in order to verify PDB."
Expand All @@ -1432,7 +1432,7 @@ Actual:
let pdbPath = Path.ChangeExtension(assemblyPath, ".pdb")
if FileSystem.FileExistsShim pdbPath then
failwith $"PDB file exists: {pdbPath}"
| _ -> failwith "Output path is not set, please make sure compilation was successfull."
| _ -> failwith "Output path is not set, please make sure compilation was successful."
match result with
| CompilationResult.Success r -> verifyPdbNotExists r
| _ -> failwith "Result should be \"Success\" in order to verify PDB."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ type RunConfig =
BaseDir : string
/// How many revisions should be checked out and built in parallel
Parallelism : int
/// Name to suffx the benchmark result files with
/// Name to suffix the benchmark result files with
ResultsSuffix : string
/// Whether to build local codebases before benchmarking
BuildLocalCodebases : bool
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/core/members/basics-hw/test.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,7 @@ module TestConstrainedItemProperty = begin
end


module ExplicitSyntacCtor = begin
module ExplicitSyntaxCtor = begin

type C =
class
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/core/members/ops-mutrec/test.fs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module OverloadSamples =
type 'a GenericVector
with
// Nb. For an operator associated with a generic type
// the the type parameters involved in the operator's definition must be the same
// the type parameters involved in the operator's definition must be the same
// as the type parameters of the enclosing class.
static member (+) ((x : 'a GenericVector),(y : 'a GenericVector)) = add x y
end
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/core/members/ops/test.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module OverloadSamples =
type 'a GenericVector
with
// Nb. For an operator associated with a generic type
// the the type parameters involved in the operator's definition must be the same
// the type parameters involved in the operator's definition must be the same
// as the type parameters of the enclosing class.
static member (+) ((x : 'a GenericVector),(y : 'a GenericVector)) = add x y
end
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/core/quotes/test.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ module IndexedPropertySetTest =
| PropertySet (inst, pi, l, es) ->
match inst with
| Some(e) ->
Expr.PropertySet(e, pi, es, l) // swaping params 2 and 3 e.g. (e, pi, l.[0], [es]) yield to OK
Expr.PropertySet(e, pi, es, l) // swapping params 2 and 3 e.g. (e, pi, l.[0], [es]) yield to OK
| _ -> failwith ""
| _ -> failwith ""

Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/single-test.fs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ let singleTestBuildAndRunCore cfg copyFiles p languageVersion =

| FSC_NETFX_TEST_ROUNDTRIP_AS_DLL ->
// Compile as a DLL to exercise pickling of interface data, then recompile the original source file referencing this DLL
// THe second compilation will not utilize the information from the first in any meaningful way, but the
// The second compilation will not utilize the information from the first in any meaningful way, but the
// compiler will unpickle the interface and optimization data, so we test unpickling as well.
use _cleanup = (cleanUpFSharpCore cfg)
use testOkFile = new FileGuard (getfullpath cfg "test.ok")
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/typeProviders/helloWorld/provider.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ type public Provider(config: TypeProviderConfig) =
else Quotations.Expr.Call(e,tagMeth,[])
| _ -> failwith "unreachable: unexpected result from PreComputeUnionTagMemberInfo"
let tagNumber = uc.Tag
// Translate to a call the the F# library equality routine
// Translate to a call the F# library equality routine
trans <@@ (%%(tagExpr) : int) = tagNumber @@>

// Handle the generic cases
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharp/typecheck/sigs/neg20.fs
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,6 @@ module InterfacesOfMeasureAnnotatedTypes =
[<MeasureAnnotatedAbbreviation>]
type Prim<[<Measure>] 'm> = Prim

// Check that Prim<'m> does not suppor interfaces in any way derived from IComparable and IEquatable
// Check that Prim<'m> does not support interfaces in any way derived from IComparable and IEquatable
let f2 (x: Prim<'m>) = (x :> IDerivedComparable<Prim<'m>>)
let f4 (x: Prim<'m>) = (x :> IDerivedEquatable<Prim<'m>>)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #Conformance #LexicalAnalysis
#light

// Verify no stynax errors or problems when using XML doc comments
// Verify no syntax errors or problems when using XML doc comments

/// Not associated with anything

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if baseTypeName<InterfaceType> <> null then exit 1
type AClass() =
interface InterfaceType

// Note how an interface has '.ToString()' despite not being derived from Syste.Object
// Note how an interface has '.ToString()' despite not being derived from System.Object
let anInterface = (new AClass() :> InterfaceType)
if anInterface.ToString().EndsWith("AClass") = false then exit 1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// #Regression #Conformance #TypeConstraints
// Verify the [<AllowNullLiteral>] attribute is only valud on class and interface types
// Verify the [<AllowNullLiteral>] attribute is the only value on class and interface types

//<Expects id="FS0934" span="(10,6-10,15)" status="error">Records, union, abbreviations and struct types cannot have the 'AllowNullLiteral' attribute</Expects>
//<Expects id="FS0934" span="(22,6-22,12)" status="error">Records, union, abbreviations and struct types cannot have the 'AllowNullLiteral' attribute</Expects>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// #Regression #NoMT #FSI #NoMono
// Regression for FSB 1711
// Generic Interface requires a method implementation that in some cases is not suppored by FSI
// Generic Interface requires a method implementation that in some cases is not supported by FSI

type IFoo<'a> =
abstract InterfaceMethod<'b> : 'a -> 'b
Expand Down