eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Unable to mock lists module #87

Closed eproxus closed 10 years ago

eproxus commented 11 years ago
1> meck:new(lists, [passthrough, unstick]).

Crash dump was written to: erl_crash.dump
The code server called the unloaded module `lists'
uuid0 commented 11 years ago

I'm getting the same when mocking os or filename.

eproxus commented 10 years ago

I think there are a few modules that have this problem, as the compiler (which Meck uses internally) relies on them.

The only practical solution I see to this problem is to not use the compiler, which would be tricky indeed.