1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: require assign on type alias (#6477)

This commit is contained in:
Daniel Däschle
2020-09-25 12:02:32 +02:00
committed by GitHub
parent 2ea94d621f
commit abc98c273c
27 changed files with 49 additions and 43 deletions

View File

@ -6,7 +6,7 @@ module sys
// Until there's a portable, JS has a seeded way to produce random numbers
// and not just Math.random(), use any of the existing implementations
// as the System's RNG
type SysRNG WyRandRNG
type SysRNG = WyRandRNG
// In the JS version, we simply return the same int as is normally generated.
[inline]