better error message for implicitly available modules

This commit is contained in:
Araq 2013-12-01 14:04:15 +01:00
commit f59e502382
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,9 @@
##
## **Note:** The current implementation of message passing is slow and does
## not work with cyclic data structures.
when not defined(NimString):
{.error: "You must not import this module explicitly".}
type
pbytes = ptr array[0.. 0xffff, byte]