Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit22bf8eb

Browse files
committed
fix 362
1 parentbc28158 commit22bf8eb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎src/fsharp/pickle.fs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,14 +723,12 @@ let pickleObjWithDanglingCcus file g scope p x =
723723

724724
#endif
725725

726-
#if DEBUG
727726
letcheck(ilscope:ILScopeRef)(inMap:NodeInTable<_,_>)=
728727
for i=0to inMap.Count-1do
729728
letn= inMap.Get i
730729
ifnot(inMap.IsLinked n)then
731730
warning(Error(FSComp.SR.pickleMissingDefinition(i, inMap.Name, ilscope.QualifiedName), range0))
732731
// Note for compiler developers: to get information about which item this index relates to, enable the conditional in Pickle.p_osgn_ref to refer to the given index number and recompile an identical copy of the source for the DLL containing the data being unpickled. A message will then be printed indicating the name of the item.\n"
733-
#endif
734732

735733
letunpickleObjWithDanglingCcus file ilscope(iILModule:ILModuleDef)u(phase2bytes:byte[])=
736734
letst2=
@@ -777,13 +775,11 @@ let unpickleObjWithDanglingCcus file ilscope (iILModule:ILModuleDef) u (phase2by
777775
ifile=file
778776
iILModule= iILModule}
779777
letres= u st1
780-
#if DEBUG
781778
#if LAZY_UNPICKLE
782779
#else
783780
check ilscope st1.itycons;
784781
check ilscope st1.ivals;
785782
check ilscope st1.itypars;
786-
#endif
787783
#endif
788784
res
789785

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp