moved random procs from math to its own module (breaking change)

This commit is contained in:
Andreas Rumpf 2016-05-30 15:07:19 +02:00
commit 95bb19a579
12 changed files with 43 additions and 122 deletions

View file

@ -2,7 +2,7 @@ discard """
action: run
"""
import math, strutils
import math, random, strutils
const consolePrefix = "jsCallbacks"
asm """

View file

@ -2,7 +2,7 @@ discard """
output: "Success"
"""
import math, threadPool
import math, random, threadPool
# ---

View file

@ -1,4 +1,4 @@
import math
import math, random
import unittest
import sets

View file

@ -26,7 +26,7 @@ test "unittest multiple requires":
require(true)
import math
import math, random
from strutils import parseInt
proc defectiveRobot() =
randomize()

View file

@ -4,7 +4,7 @@ discard """
# bug #1816
from math import random
from random import random
from os import sleep
type PComm = ptr Channel[int]