Skip to content

Commit e1ce6b9

Browse files
committed
Update check files
1 parent 66bba46 commit e1ce6b9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/neg/i11226.check

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- Error: tests/neg/i11226.scala:13:36 ---------------------------------------------------------------------------------
22
13 | def test(a: ActorRef): Unit = bus.unsubscribe(a) // error
33
| ^
4-
| Cannot resolve reference to type (Unsubscriber.this.bus : ManagedActorClassification).Subscriber.
5-
| Subscriber exists as a member of the self type ActorEventBus of trait ManagedActorClassification
6-
| but it cannot be referenced from a scope that does not extend that trait.
4+
| Cannot resolve reference to type (Unsubscriber.this.bus : ManagedActorClassification).Subscriber.
5+
| Subscriber exists as a member of the self type ActorEventBus of trait ManagedActorClassification
6+
| but it cannot be called on a receiver whose type does not extend trait ManagedActorClassification.

tests/neg/i11226a.check

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-- [E007] Type Mismatch Error: tests/neg/i11226a.scala:12:48 -----------------------------------------------------------
22
12 | def test(a: ActorRef): Unit = bus.unsubscribe(a) // error
33
| ^
4-
| Found: (a : ActorRef)
5-
| Required: Unsubscriber.this.bus.Subscriber
4+
| Found: (a : ActorRef)
5+
| Required: Unsubscriber.this.bus.Subscriber
66
|
7-
| Note that I could not resolve reference Unsubscriber.this.bus.Subscriber.
8-
| Subscriber exists as a member of the self type ActorEventBus of trait ManagedActorClassification
9-
| but it cannot be referenced from a scope that does not extend that trait
10-
|
7+
| Note that I could not resolve reference Unsubscriber.this.bus.Subscriber.
8+
| Subscriber exists as a member of the self type ActorEventBus of trait ManagedActorClassification
9+
| but it cannot be called on a receiver whose type does not extend trait ManagedActorClassification
10+
|
1111
|
1212
| longer explanation available when compiling with `-explain`

0 commit comments

Comments
 (0)