Changeset 772:cd7da2ba14d1
- Timestamp:
- 11/18/08 11:14:57
(4 years ago)
- Author:
- Christian Kamm <kamm incasoftware de>
- branch:
- default
- Message:
Fix bug reported by downs. Related to delegate types within tuple template parameters.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r771 |
r772 |
|
| 2951 | 2951 | { Argument *arg = Argument::getNth(tf->parameters, i); |
|---|
| 2952 | 2952 | Type *t; |
|---|
| | 2953 | |
|---|
| | 2954 | // each function needs its own copy of a tuple arg, since |
|---|
| | 2955 | // they mustn't share arg flags like inreg, ... |
|---|
| | 2956 | if (arg->type->ty == Ttuple) |
|---|
| | 2957 | arg->type = arg->type->syntaxCopy(); |
|---|
| 2953 | 2958 | |
|---|
| 2954 | 2959 | tf->inuse++; |
|---|
| … | … | |
| 3467 | 3472 | } |
|---|
| 3468 | 3473 | if (t->ty == Ttuple) |
|---|
| 3469 | | *pt = t->syntaxCopy(); |
|---|
| | 3474 | *pt = t; |
|---|
| 3470 | 3475 | else |
|---|
| 3471 | 3476 | *pt = t->merge(); |
|---|