nhibernate/nhibernate-core — pull request #263 by TheHunter (2014-04-21 10:06:56+00:00)
Title: New test method named AggregateDistinctCount() and AggregateNoDistinctCount().

Hi,
the problem is when I try to use a scalar function into count function, and the strange case is when I use my own custom count function (example counter, with the same implementation of count), this one (my count function) works, but when I try to introduce a distinct keyword, this throws an exception on HqlParser.cs file
(method HqlParser.selectFrom_return selectFrom()).

Please, executes my methods in order to understand the problem.

Thanks a lot.

Manuel