getComponents API is wrong
    
    
    
      
      
      
        
Rewrite using SCodeFlatten or something. We need the correct name, not this haphazard stuff :p
loadString("
package N type O = Real; end N;
model M
  import R = N.O;
  R r;
end M;
");
getComponents(M);
Returns N.R r ... What?
       
     
   
 
      
        
        
          Change History
          (4)
        
          
  
  
  
    
      | Component: | 
      
        → Command Prompt Environment
       | 
    
    
      | Owner: | 
      
        changed from Martin Sjölund to Adeel Asghar
       | 
    
    
      | Status: | 
      
        new → assigned
       | 
    
  
 
           
          
          
  
  
  
    
      | Component: | 
      
        Command Prompt Environment → NF API
       | 
    
    
      | Resolution: | 
      
        → fixed
       | 
    
    
      | Status: | 
      
        assigned → closed
       | 
    
  
 
           
          
  
  
  
    
      | Milestone: | 
      
        Future → 1.16.0
       | 
    
  
 
           
          
         
       
     
        
    
    
With
-d=nfAPIyou now getN.Oas the type ofr, so this seems to have been fixed.