=htp #18615 rm comment on workaround in Scala 2.10
This commit is contained in:
parent
b9d1fa74ba
commit
4290b5640d
1 changed files with 0 additions and 10 deletions
|
|
@ -37,22 +37,12 @@ trait FormFieldDirectives extends ToNameReceptacleEnhancements {
|
|||
/**
|
||||
* Extracts an HTTP form field from the request.
|
||||
* Rejects the request if the defined form field matcher(s) don't match.
|
||||
*
|
||||
* Due to a bug in Scala 2.10, invocations of this method sometimes fail to compile with an
|
||||
* "too many arguments for method formField" or "type mismatch" error.
|
||||
*
|
||||
* As a workaround add an `import FormFieldDirectives.FieldMagnet` or use Scala 2.11.x.
|
||||
*/
|
||||
def formField(pdm: FieldMagnet): pdm.Out = pdm()
|
||||
|
||||
/**
|
||||
* Extracts a number of HTTP form field from the request.
|
||||
* Rejects the request if the defined form field matcher(s) don't match.
|
||||
*
|
||||
* Due to a bug in Scala 2.10, invocations of this method sometimes fail to compile with an
|
||||
* "too many arguments for method formFields" or "type mismatch" error.
|
||||
*
|
||||
* As a workaround add an `import FormFieldDirectives.FieldMagnet` or use Scala 2.11.x.
|
||||
*/
|
||||
def formFields(pdm: FieldMagnet): pdm.Out = pdm()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue