diff options
author | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2013-07-08 22:15:10 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-08-08 12:09:49 -0700 |
commit | 053682c53c5a2b7f2c37f08727a2c1c330480899 (patch) | |
tree | 8bde37f9458abec61a5fe48ca995474ca1f952d5 /test/long-running | |
parent | 21e56813cc9afa1d146e5e2250b1d054d0686322 (diff) | |
download | scala-053682c53c5a2b7f2c37f08727a2c1c330480899.tar.gz scala-053682c53c5a2b7f2c37f08727a2c1c330480899.tar.bz2 scala-053682c53c5a2b7f2c37f08727a2c1c330480899.zip |
separation of concerns: guard non-specialized ctor-stats in constructors
This commit modularizes TemplateTransformer by moving two methods
from TemplateTransformer into the newly added OmittablesHelper.
The methods in question are:
- mergeConstructors(genericClazz, originalStats, specializedStats)
- guardSpecializedInitializer(stats)
That way, the rewriting that introduces a guard for the execution of
non-specialized ctor-statements is encapsulated in
trait GuardianOfCtorStmts.
Diffstat (limited to 'test/long-running')
0 files changed, 0 insertions, 0 deletions