|
@@ -2327,13 +2327,17 @@ End Rem
|
|
inst.declImported = declImported
|
|
inst.declImported = declImported
|
|
|
|
|
|
PushEnv inst
|
|
PushEnv inst
|
|
|
|
+
|
|
|
|
+ ' install aliases
|
|
|
|
+ For Local i:Int=0 Until args.Length
|
|
|
|
+ inst.InsertDecl New TAliasDecl.Create( args[i].ident,instArgs[i],0 )
|
|
|
|
+ Next
|
|
|
|
|
|
|
|
+ ' process parameter types
|
|
For Local i:Int=0 Until args.Length
|
|
For Local i:Int=0 Until args.Length
|
|
|
|
|
|
Local arg:TTemplateArg = args[i]
|
|
Local arg:TTemplateArg = args[i]
|
|
|
|
|
|
- inst.InsertDecl New TAliasDecl.Create( arg.ident,instArgs[i],0 )
|
|
|
|
-
|
|
|
|
' ensure parameter types are compatible
|
|
' ensure parameter types are compatible
|
|
If arg.superTy Then
|
|
If arg.superTy Then
|
|
For Local n:Int = 0 Until arg.superTy.length
|
|
For Local n:Int = 0 Until arg.superTy.length
|