1
Fork 0

implement reference type name (I think - cannot find any examples or

explanation of what it means, didn't try reading the standard
  itself, just the grammar)
This commit is contained in:
Jake Wheat 2014-04-18 21:48:14 +03:00
parent 3b86a06e5c
commit 7a84704516
4 changed files with 15 additions and 3 deletions
tools/Language/SQL/SimpleSQL

View file

@ -987,8 +987,7 @@ create a list of type name variations:
> ,"timestamp"]
> --interval -- not allowed without interval qualifier
> --row -- not allowed without row type body
> --ref -- todo
> --scope -- todo
> --ref -- not allowed without reference type
> -- array -- not allowed on own
> -- multiset -- not allowed on own
@ -1092,6 +1091,8 @@ create a list of type name variations:
> ,("interval year(4) to second(2,3)"
> ,IntervalTypeName (Itf "year" $ Just (4,Nothing))
> (Just $ Itf "second" $ Just (2, Just 3)))
> ,("ref (t)", RefTypeName [Name "t"] Nothing)
> ,("ref (t) scope q", RefTypeName [Name "t"] (Just [Name "q"]))
> ]
Now test each variation in both cast expression and typed literal