-
Notifications
You must be signed in to change notification settings - Fork 2
Cleanup SubScriptActor.registerHandler #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The current code has also 2 implicit scripts:
I wonder why there are 2 conversion scripts instead of one. |
The definition of
(already dropped |
If I am right we would need only the second conversion script. But since we will only need one implicit script, as I assume, we do not need this extra refinement.
|
For the Scala Symposium 2016 paper, I assume that we can replace
by
|
In SubScriptActor:
The purpose is to make sure only those handlers will execute that are LHS in a dataflow that expects the received actor message.
The code that does that test should be made more generic: a code fragment node should contain a method that tells whether a given value would match the contextual dataflow, in case there is such a data flow. That would be like the
matches
method inFormalConstrainedParameter
. E.g. for usage seeKeyTypedReactor
.Moreover, this line
is IMO wrong: it makes an atomic action happen whereas we are only registrering. Probably this should be:
The text was updated successfully, but these errors were encountered: