moved random procs from math to its own module (breaking change)
This commit is contained in:
parent
5575cfd3ec
commit
95bb19a579
12 changed files with 43 additions and 122 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
action: run
|
||||
"""
|
||||
|
||||
import math, strutils
|
||||
import math, random, strutils
|
||||
const consolePrefix = "jsCallbacks"
|
||||
|
||||
asm """
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ discard """
|
|||
output: "Success"
|
||||
"""
|
||||
|
||||
import math, threadPool
|
||||
import math, random, threadPool
|
||||
|
||||
# ---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import math
|
||||
import math, random
|
||||
import unittest
|
||||
import sets
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ test "unittest multiple requires":
|
|||
require(true)
|
||||
|
||||
|
||||
import math
|
||||
import math, random
|
||||
from strutils import parseInt
|
||||
proc defectiveRobot() =
|
||||
randomize()
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ discard """
|
|||
|
||||
# bug #1816
|
||||
|
||||
from math import random
|
||||
from random import random
|
||||
from os import sleep
|
||||
|
||||
type PComm = ptr Channel[int]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue