[Issue 23127] @safe inference seems to depend on semantic analysis order
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri May 20 01:27:42 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23127
--- Comment #2 from mhh <maxhaton at gmail.com> ---
Some printf debugging:
Context: popFront
exp: sym/rbtree.d(22):(*this._begin).next()
Data about f:
        next
        sym/rbtree.d(9)
        (null)
        next has type RBNode!(Pair)*()
setUnsafe:  next
setUnsafe: In progress
        sc.flag & compile: not
setUnsafe: sym/rbtree.d(9) popFront
setUnsafe: In progress
FuncDeclaration::semantic3(function 'next', sc = 0x7f7eb91f03d0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Semantic3 is on next run *after* its first use.
--
    
    
More information about the Digitalmars-d-bugs
mailing list