You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/jlgen.jl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -591,8 +591,8 @@ Compile the GPUCompiler job. In particular this will run inference using the for
591
591
abstract interpreter.
592
592
"""
593
593
function Base.precompile(@nospecialize(job::CompilerJob))
594
-
if job.source.def.primary_world > job.world|| job.world > job.source.def.deleted_world
595
-
error("Cannot compile $(job.source) for world $(job.world); method is only valid in worlds$(job.source.def.primary_world)to $(job.source.def.deleted_world)")
594
+
if job.source.def.primary_world > job.world
595
+
error("Cannot compile $(job.source) for world $(job.world); method is only valid from world$(job.source.def.primary_world)onwards")
596
596
end
597
597
598
598
# populate the cache
@@ -603,8 +603,8 @@ function Base.precompile(@nospecialize(job::CompilerJob))
if job.source.def.primary_world > job.world|| job.world > job.source.def.deleted_world
607
-
error("Cannot compile $(job.source) for world $(job.world); method is only valid in worlds$(job.source.def.primary_world)to $(job.source.def.deleted_world)")
606
+
if job.source.def.primary_world > job.world
607
+
error("Cannot compile $(job.source) for world $(job.world); method is only valid from world$(job.source.def.primary_world)onwards")
0 commit comments