diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-29 00:21:07 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-29 12:34:19 -0700 |
commit | 0a3362b3ea5cd7355cd9ccc529783549a4cb5c5f (patch) | |
tree | cd1c7a3892bfbd657870c619440c047334a1373f /test/files/run/t4788.check | |
parent | 3ae39036771acb107cbb4a37fe6113c243d89acc (diff) | |
download | scala-0a3362b3ea5cd7355cd9ccc529783549a4cb5c5f.tar.gz scala-0a3362b3ea5cd7355cd9ccc529783549a4cb5c5f.tar.bz2 scala-0a3362b3ea5cd7355cd9ccc529783549a4cb5c5f.zip |
Specialization precludes use of LambdaMetaFactory for SAM
When a SAM type is specialized (i.e., a specialized type
parameter receives a specialized type argument), do not use
LambdaMetaFactory (expand during Uncurry instead).
This is an implementation restriction -- the current
specialization scheme is not amenable to using
LambdaMetaFactory to spin up subclasses. Since the generic
method is abstract, and the specialized ones are concrete,
specialization is rendered moot because we cannot implement
the specialized method with the lambda using LMF.
Diffstat (limited to 'test/files/run/t4788.check')
0 files changed, 0 insertions, 0 deletions