Skip to content

Invalid IL on value type instance method #225

@nasser

Description

@nasser
(let [h (System.HashCode.)]
      (.Add h 1)
      (.ToHashCode h))
;; Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Invalid IL code in <magic>expr_382:eval (): IL_003a: callvirt  0x0a000002

we still don't have the full story on value type instance methods locked down

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions