You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
commite5f1ec9Author: Don Syme <dsyme@microsoft.com>Date: Tue Jan 20 17:34:33 2015 +0000 fix typocommit80dbab8Author: Don Syme <dsyme@microsoft.com>Date: Tue Jan 20 14:50:12 2015 +0000 Restrict fix fordotnet#44 to F# Interactivecommit1b2f9fcAuthor: Don Syme <dsyme@microsoft.com>Date: Tue Jan 20 14:41:17 2015 +0000Fixdotnet#44 - Problems using FSI on a project
type ValMemberInfoTransient = ValMemberInfoTransient of ValMemberInfo * string * string
@@ -945,7 +954,7 @@ let MakeMemberDataAndMangledNameForMemberVal(g,tcref,isExtrinsic,attrs,optImplSl
945
954
let compiledName =
946
955
if isExtrinsic then
947
956
let tname = tcref.LogicalName
948
-
let text = tname^"."^logicalName
957
+
let text = tname +"." +logicalName
949
958
let text = if memberFlags.MemberKind <> MemberKind.Constructor && memberFlags.MemberKind <> MemberKind.ClassConstructor && not memberFlags.IsInstance then text^".Static" else text
950
959
let text = if memberFlags.IsOverrideOrExplicitImpl then text^".Override" else text
@@ -4635,7 +4644,7 @@ and TcSimplePats cenv optArgsOK checkCxs ty env (tpenv,names,takenNames:Set<_>)
4635
4644
// This is a little awkward since it would be nice if this was
4636
4645
// uniform with the process where we give names to other (more complex)
4637
4646
// patterns used in argument position, e.g. "let f (D(x)) = ..."
4638
-
let id = ident("unitVar"^string takenNames.Count,m)
4647
+
let id = ident("unitVar" +string takenNames.Count,m)
4639
4648
UnifyTypes cenv env m ty cenv.g.unit_ty
4640
4649
let _,names,takenNames = TcPatBindingName cenv env id ty false None None (ValInline.Optional,permitInferTypars,noArgOrRetAttribs,false,None,true) (names,takenNames)
4641
4650
[id.idText],(tpenv,names,takenNames)
@@ -6255,7 +6264,7 @@ and TcConstExpr cenv overallTy env m tpenv c =
6255
6264
6256
6265
| SynConst.UserNum (s,suffix) ->
6257
6266
let expr =
6258
-
let modName = ("NumericLiteral"^suffix)
6267
+
let modName = ("NumericLiteral" +suffix)
6259
6268
let ad = env.eAccessRights
6260
6269
match ResolveLongIndentAsModuleOrNamespace cenv.amap m OpenQualified env.eNameResEnv ad [ident (modName,m)] with
let vs,ves = argTys |> List.mapi (fun i ty -> mkCompGenLocal mItem ("arg"^string i) ty) |> List.unzip
8132
+
let vs,ves = argTys |> List.mapi (fun i ty -> mkCompGenLocal mItem ("arg" +string i) ty) |> List.unzip
8124
8133
8125
8134
let memberFlags = StaticMemberFlags MemberKind.Member
8126
8135
let logicalCompiledName = ComputeLogicalName id memberFlags
@@ -13213,7 +13222,7 @@ module TcExceptionDeclarations = begin
13213
13222
let args = match args with (UnionCaseFields args) -> args | _ -> error(Error(FSComp.SR.tcExplicitTypeSpecificationCannotBeUsedForExceptionConstructors(),m))
13214
13223
let ad = env.eAccessRights
13215
13224
13216
-
let args' = List.mapi (fun i fdef -> TcRecdUnionAndEnumDeclarations.TcAnonFieldDecl cenv env parent tpenv ("Data"^string i) fdef) args
13225
+
let args' = List.mapi (fun i fdef -> TcRecdUnionAndEnumDeclarations.TcAnonFieldDecl cenv env parent tpenv ("Data" +string i) fdef) args