Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #79 from henriquewerlang/master
Curious as to when this occurs. Do you have any more information on when and how this error occurs?
  • Loading branch information
staticcat committed Nov 15, 2015
2 parents 790bd40 + 44daacf commit 7a11b74
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Delphi.Mocks.Proxy.TypeInfo.pas
Expand Up @@ -39,6 +39,8 @@ interface
Delphi.Mocks.Behavior;

type
{$M-}

TProxy = class(TWeakReferencedObject, IWeakReferenceableObject, IInterface, IProxy, IVerify)
private
FTypeInfo : PTypeInfo;
Expand Down
2 changes: 2 additions & 0 deletions Delphi.Mocks.Proxy.pas
Expand Up @@ -38,6 +38,8 @@ interface
Delphi.Mocks.Behavior;

type
{$M-}

TProxyBaseInvokeEvent = procedure (Method: TRttiMethod; const Args: TArray<TValue>; out Result: TValue) of object;

TSetupMode = (None, Behavior, Expectation);
Expand Down
2 changes: 2 additions & 0 deletions Delphi.Mocks.WeakReference.pas
Expand Up @@ -46,6 +46,8 @@
interface

type
{$M-}

/// Implemented by our weak referenced object base class
IWeakReferenceableObject = interface
['{3D7F9CB5-27F2-41BF-8C5F-F6195C578755}']
Expand Down
2 changes: 2 additions & 0 deletions Delphi.Mocks.pas
Expand Up @@ -39,6 +39,8 @@ interface
Delphi.Mocks.WeakReference;

type
{$M-}

IWhen<T> = interface;

//Records the expectations we have when our Mock is used. We can then verify
Expand Down

0 comments on commit 7a11b74

Please sign in to comment.